summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2020-12-22 15:07:28 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2020-12-22 15:07:27 -0800
commitb30ff4c21dca02b1aaef35ae7dc1f380c7ae5793 (patch)
treee7e34f95d1c0ee7f0be650920fabf1e76cebc92e /include/linux
parente780a105163f591de4fcefa00667b82de007423f (diff)
parente2a50d2caa289793db3aa2a2e94b00b8a57e352d (diff)
Merge "UPSTREAM: HID: input: map digitizer battery usage"
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/hid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h
index 2a6dc0ab9b88..2f5435653459 100644
--- a/include/linux/hid.h
+++ b/include/linux/hid.h
@@ -529,10 +529,12 @@ struct hid_device { /* device report descriptor */
* battery is non-NULL.
*/
struct power_supply *battery;
+ __s32 battery_capacity;
__s32 battery_min;
__s32 battery_max;
__s32 battery_report_type;
__s32 battery_report_id;
+ bool battery_reported;
#endif
unsigned int status; /* see STAT flags above */