summaryrefslogtreecommitdiff
path: root/drivers/hid/wacom.h
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2014-07-26 00:32:41 (GMT)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-07-26 01:55:54 (GMT)
commit7dbd229e10603b3759f366007df2068dc2acfe46 (patch)
tree55c0ab8bee329ef85439c1678c3a264171d2fa21 /drivers/hid/wacom.h
parentd70420b914c98a3758674c6e9858810e0ab4ea30 (diff)
downloadlinux-7dbd229e10603b3759f366007df2068dc2acfe46.tar.xz
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/wacom.h b/drivers/hid/wacom.h
index 98cb93f..0b89ee7 100644
--- a/drivers/hid/wacom.h
+++ b/drivers/hid/wacom.h
@@ -120,6 +120,7 @@ struct wacom {
} led;
bool led_initialized;
struct power_supply battery;
+ struct power_supply ac;
};
static inline void wacom_schedule_work(struct wacom_wac *wacom_wac)