diff options
author | Chris Bagwell <chris@cnpbagwell.com> | 2012-03-26 02:26:30 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-03-26 02:33:17 -0400 |
commit | a1d552cc15b0be9124ccba593f99f59c4ec1e153 (patch) | |
tree | bae307464abfba32dfc3a4c19bbe38c1106746fe /drivers/input/tablet/wacom.h | |
parent | 16bf288c4be67b68c3fcb6561ff145702cb7bd22 (diff) |
Input: wacom - wireless battery status
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
Tested-by: Jason Gerecke <killertofu@gmail.com>
Acked-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/tablet/wacom.h b/drivers/input/tablet/wacom.h index febbfd9f3a84..b4842d0e61dd 100644 --- a/drivers/input/tablet/wacom.h +++ b/drivers/input/tablet/wacom.h | |||
@@ -88,6 +88,7 @@ | |||
88 | #include <linux/mod_devicetable.h> | 88 | #include <linux/mod_devicetable.h> |
89 | #include <linux/init.h> | 89 | #include <linux/init.h> |
90 | #include <linux/usb/input.h> | 90 | #include <linux/usb/input.h> |
91 | #include <linux/power_supply.h> | ||
91 | #include <asm/unaligned.h> | 92 | #include <asm/unaligned.h> |
92 | 93 | ||
93 | /* | 94 | /* |
@@ -121,6 +122,7 @@ struct wacom { | |||
121 | u8 hlv; /* status led brightness button pressed (1..127) */ | 122 | u8 hlv; /* status led brightness button pressed (1..127) */ |
122 | u8 img_lum; /* OLED matrix display brightness */ | 123 | u8 img_lum; /* OLED matrix display brightness */ |
123 | } led; | 124 | } led; |
125 | struct power_supply battery; | ||
124 | }; | 126 | }; |
125 | 127 | ||
126 | static inline void wacom_schedule_work(struct wacom_wac *wacom_wac) | 128 | static inline void wacom_schedule_work(struct wacom_wac *wacom_wac) |