diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2011-11-30 14:42:04 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-11-30 14:42:08 +0100 |
commit | 672007957846c3d556165bab635a9c9b855261fa (patch) | |
tree | 215c74047de4165e4c5a4e344a68d2e289576565 /drivers/hid/hid-tmff.c | |
parent | 4f5ca836bef3dd3eb602152d5d712a513998264e (diff) |
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 <jeremy@goop.org>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-tmff.c')
0 files changed, 0 insertions, 0 deletions