diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-07-12 00:49:20 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2016-07-12 12:17:40 +0300 |
commit | 351744aa0f0366f17118db58b011cd3b8678f923 (patch) | |
tree | 938378140084b97c6ef8073a4bc3fd2e9b8f9e3a /drivers/hid/hid-logitech-dj.c | |
parent | 6bd4e65d521f924b9f17c6a285b5e1ea7a2bd4d4 (diff) | |
download | linux-351744aa0f0366f17118db58b011cd3b8678f923.tar.xz |
HID: logitech-hidpp: select CONFIG_POWER_SUPPLY
A recent commit added barry support to this driver, but that causes
a link failure when CONFIG_POWER_SUPPLY is not set:
drivers/hid/built-in.o: In function `hidpp_battery_get_property':
:(.text+0x1a834): undefined reference to `power_supply_get_drvdata'
drivers/hid/built-in.o: In function `hidpp_raw_event':
:(.text+0x1b10c): undefined reference to `power_supply_changed'
drivers/hid/built-in.o: In function `hidpp_connect_event':
:(.text+0x1bd88): undefined reference to `devm_power_supply_register'
:(.text+0x1be30): undefined reference to `power_supply_powers'
This adds a dependency, identically to the other HID drivers that need this.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Fixes: 5a2b190cddb9 ("HID: logitech-hidpp: add battery support for HID++ 2.0 devices")
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-logitech-dj.c')
0 files changed, 0 insertions, 0 deletions