Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HID: hid-input: fix compile for !HID_BATTERY_STRENGTH
As reported by Stephen Rothwell: drivers/hid/hid-input.c: In function 'hidinput_hid_event': drivers/hid/hid-input.c:865:6: error: 'struct hid_device' has no member named 'battery_val' drivers/hid/hid-input.c:866:3: error: 'struct hid_device' has no member named 'battery_min' drivers/hid/hid-input.c:866:3: error: 'struct hid_device' has no member named 'battery_max' Signed-off-by: Jeremy Fitzhardinge <[email protected]> Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
- Loading branch information