diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2011-12-02 11:18:45 -0800 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy@goop.org> | 2012-01-08 18:30:37 +1100 |
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 */ __s32 battery_min; __s32 battery_max; __s32 battery_val; + __s32 battery_report_type; __s32 battery_report_id; #endif |