diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2014-07-25 20:32:41 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-07-25 21:55:54 -0400 |
commit | 7dbd229e10603b3759f366007df2068dc2acfe46 (patch) | |
tree | 55c0ab8bee329ef85439c1678c3a264171d2fa21 /drivers/hid/wacom.h | |
parent | d70420b914c98a3758674c6e9858810e0ab4ea30 (diff) |
Input: wacom - register an ac power supply for wireless devices
This is used by HID Bluetooth devices but also add some more information
to the USB Wireless Receiver.
We are just porting the bits from hid-wacom.c to the common driver here.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Acked-by: Przemo Firszt <przemo@firszt.eu>
Acked-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/hid/wacom.h')
-rw-r--r-- | drivers/hid/wacom.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/wacom.h b/drivers/hid/wacom.h index 98cb93f16ba4..0b89ee77d7d1 100644 --- a/drivers/hid/wacom.h +++ b/drivers/hid/wacom.h | |||
@@ -120,6 +120,7 @@ struct wacom { | |||
120 | } led; | 120 | } led; |
121 | bool led_initialized; | 121 | bool led_initialized; |
122 | struct power_supply battery; | 122 | struct power_supply battery; |
123 | struct power_supply ac; | ||
123 | }; | 124 | }; |
124 | 125 | ||
125 | static inline void wacom_schedule_work(struct wacom_wac *wacom_wac) | 126 | static inline void wacom_schedule_work(struct wacom_wac *wacom_wac) |