aboutsummaryrefslogtreecommitdiff
path: root/drivers/input/tablet/wacom.h
diff options
context:
space:
mode:
authorOliver Neukum <oliver@neukum.org>2008-04-15 01:31:57 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2008-04-15 01:31:57 -0400
commite722409445fbe718f09f6d5e03d0ae84cf0954d0 (patch)
tree490d1fd96cec28b3e5a00ab0ce401d52d720f3cb /drivers/input/tablet/wacom.h
parent04021e4e401d7ac2051839dd5b00a701c9119dd9 (diff)
Input: wacom - implement suspend and autosuspend
This implements suspend and autosuspend support for wacom devices. It works by using the usb last busy functionality triggered in the completion callback. Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Ping Cheng <pingc@wacom.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/tablet/wacom.h')
-rw-r--r--drivers/input/tablet/wacom.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/input/tablet/wacom.h b/drivers/input/tablet/wacom.h
index acf9830698c..706619d06f7 100644
--- a/drivers/input/tablet/wacom.h
+++ b/drivers/input/tablet/wacom.h
@@ -101,8 +101,11 @@ struct wacom {
dma_addr_t data_dma;
struct input_dev *dev;
struct usb_device *usbdev;
+ struct usb_interface *intf;
struct urb *irq;
struct wacom_wac * wacom_wac;
+ struct mutex lock;
+ int open:1;
char phys[32];
};