diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2011-12-02 14:18:45 -0500 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy@goop.org> | 2012-01-08 02:30:37 -0500 |
commit | fb8ac91b4dccbdda0ad51d499079d05143783ba4 (patch) | |
tree | b85100063cf4128c79b610a0a7def43a40c98413 /include/linux/hid.h | |
parent | bbc21cfd55858d7c3e55bfaa91fa934b0b13ad4d (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.h | 1 |
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 */ | |||
496 | __s32 battery_min; | 496 | __s32 battery_min; |
497 | __s32 battery_max; | 497 | __s32 battery_max; |
498 | __s32 battery_val; | 498 | __s32 battery_val; |
499 | __s32 battery_report_type; | ||
499 | __s32 battery_report_id; | 500 | __s32 battery_report_id; |
500 | #endif | 501 | #endif |
501 | 502 | ||