commit | fb8ac91b4dccbdda0ad51d499079d05143783ba4 | [log] [tgz] |
---|---|---|
author | Jeremy Fitzhardinge <jeremy@goop.org> | Fri Dec 02 11:18:45 2011 -0800 |
committer | Jeremy Fitzhardinge <jeremy@goop.org> | Sun Jan 08 18:30:37 2012 +1100 |
tree | b85100063cf4128c79b610a0a7def43a40c98413 | |
parent | bbc21cfd55858d7c3e55bfaa91fa934b0b13ad4d [diff] [blame] |
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>
diff --git a/include/linux/hid.h b/include/linux/hid.h index fa772c8..9351d3d 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h
@@ -496,6 +496,7 @@ __s32 battery_min; __s32 battery_max; __s32 battery_val; + __s32 battery_report_type; __s32 battery_report_id; #endif