diff options
author | Jiri Kosina <jkosina@suse.cz> | 2011-12-16 22:35:55 (GMT) |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-12-16 22:35:55 (GMT) |
commit | 7e69ba7caeb00babd40c69fea7f0628c307d7b99 (patch) | |
tree | 7be4b3d661ec389eba56c09d302503aa174224c6 /drivers/ata | |
parent | 8c3d52fc393b5be8b14dad67053ed83195f0d002 (diff) | |
download | linux-fsl-qoriq-7e69ba7caeb00babd40c69fea7f0628c307d7b99.tar.xz |
HID: introduce proper dependency of HID_BATTERY on POWER_SUPPLY
ppc6xx_defconfig reveals this:
drivers/built-in.o: In function `hidinput_cleanup_battery': drivers/hid/hid-input.c:351: undefined reference to`power_supply_unregister'
drivers/built-in.o: In function `hidinput_setup_battery': drivers/hid/hid-input.c:338: undefined reference to `power_supply_register'
make[1]: *** [.tmp_vmlinux1] Error 1
The defconfig in question doens't mention either option and kbuild is
genertaing
CONFIG_HID_BATTERY_STRENGTH=y
CONFIG_POWER_SUPPLY=m
which is wrong. Put a proper dependency in place.
Reported-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/ata')
0 files changed, 0 insertions, 0 deletions