summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-03-04 20:54:43 +0100
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>2019-03-11 14:41:03 +0100
commita23eab893476f67bd7572cdbf24498d647c86e48 (patch)
treeeee47a7a482dafe37cbc9b225187421f8820aabf /Makefile
parent7d01427aaa78fa611f84c1a05fde66a41a6598be (diff)
HID: hid-asus: select CONFIG_POWER_SUPPLY
The newly added power supply code fails to link when the power supply core code is disabled: drivers/hid/hid-asus.o: In function `asus_battery_get_property': hid-asus.c:(.text+0x11de): undefined reference to `power_supply_get_drvdata' drivers/hid/hid-asus.o: In function `asus_probe': hid-asus.c:(.text+0x170c): undefined reference to `devm_power_supply_register' hid-asus.c:(.text+0x1734): undefined reference to `power_supply_powers' drivers/hid/hid-asus.o: In function `asus_raw_event': hid-asus.c:(.text+0x1914): undefined reference to `power_supply_changed' Select the subsystem from Kconfig as we do for other hid drivers already. Fixes: 6311d329e12a ("HID: hid-asus: Add BT keyboard dock battery monitoring support") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions