summaryrefslogtreecommitdiff
path: root/include/linux/hid.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2011-12-02 11:18:45 -0800
committerJeremy Fitzhardinge <jeremy@goop.org>2012-01-08 18:30:37 +1100
commitfb8ac91b4dccbdda0ad51d499079d05143783ba4 (patch)
treeb85100063cf4128c79b610a0a7def43a40c98413 /include/linux/hid.h
parentbbc21cfd55858d7c3e55bfaa91fa934b0b13ad4d (diff)
hid-input/battery: deal with both FEATURE and INPUT report batteries
Some devices seem to report batteries as FEATUREs, others as INPUTs. Signed-off-by: Jeremy Fitzhardinge <jeremy@goop.org>
Diffstat (limited to 'include/linux/hid.h')
-rw-r--r--include/linux/hid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h
index fa772c86fa2c..9351d3d1d089 100644
--- a/include/linux/hid.h
+++ b/include/linux/hid.h
@@ -496,6 +496,7 @@ struct hid_device { /* device report descriptor */
__s32 battery_min;
__s32 battery_max;
__s32 battery_val;
+ __s32 battery_report_type;
__s32 battery_report_id;
#endif