diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2020-12-22 15:07:28 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2020-12-22 15:07:27 -0800 |
| commit | b30ff4c21dca02b1aaef35ae7dc1f380c7ae5793 (patch) | |
| tree | e7e34f95d1c0ee7f0be650920fabf1e76cebc92e /include/linux | |
| parent | e780a105163f591de4fcefa00667b82de007423f (diff) | |
| parent | e2a50d2caa289793db3aa2a2e94b00b8a57e352d (diff) | |
Merge "UPSTREAM: HID: input: map digitizer battery usage"
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/hid.h | 2 |
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 */ |
