diff options
| -rw-r--r-- | drivers/hid/hid-input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c index 771ff5df5742..ceade58b8027 100644 --- a/drivers/hid/hid-input.c +++ b/drivers/hid/hid-input.c | |||
| @@ -368,7 +368,7 @@ static bool hidinput_setup_battery(struct hid_device *dev, unsigned report_type, | |||
| 368 | if (battery->name == NULL) | 368 | if (battery->name == NULL) |
| 369 | goto out; | 369 | goto out; |
| 370 | 370 | ||
| 371 | battery->type = POWER_SUPPLY_TYPE_USB; | 371 | battery->type = POWER_SUPPLY_TYPE_BATTERY; |
| 372 | battery->properties = hidinput_battery_props; | 372 | battery->properties = hidinput_battery_props; |
| 373 | battery->num_properties = ARRAY_SIZE(hidinput_battery_props); | 373 | battery->num_properties = ARRAY_SIZE(hidinput_battery_props); |
| 374 | battery->use_for_apm = 0; | 374 | battery->use_for_apm = 0; |
