aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hid.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/hid.h')
-rw-r--r--include/linux/hid.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h
index efc7787a41a8..f94cf28e4b7c 100644
--- a/include/linux/hid.h
+++ b/include/linux/hid.h
@@ -514,10 +514,10 @@ struct hid_device { /* device report descriptor */
514#ifdef CONFIG_HID_BATTERY_STRENGTH 514#ifdef CONFIG_HID_BATTERY_STRENGTH
515 /* 515 /*
516 * Power supply information for HID devices which report 516 * Power supply information for HID devices which report
517 * battery strength. power_supply is registered iff 517 * battery strength. power_supply was successfully registered if
518 * battery.name is non-NULL. 518 * battery is non-NULL.
519 */ 519 */
520 struct power_supply battery; 520 struct power_supply *battery;
521 __s32 battery_min; 521 __s32 battery_min;
522 __s32 battery_max; 522 __s32 battery_max;
523 __s32 battery_report_type; 523 __s32 battery_report_type;