Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc693ba2 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Treehugger Robot
Browse files

UPSTREAM: HID: steam: select CONFIG_POWER_SUPPLY



Using the power supply APIs requires selecting the appropriate
Kconfig symbol, otherwise we get this build failure:

drivers/hid/hid-steam.o: In function `steam_unregister':
hid-steam.c:(.text+0x1cc): undefined reference to `power_supply_unregister'
drivers/hid/hid-steam.o: In function `steam_battery_get_property':
hid-steam.c:(.text+0x2d2): undefined reference to `power_supply_get_drvdata'
drivers/hid/hid-steam.o: In function `steam_raw_event':
hid-steam.c:(.text+0xcba): undefined reference to `power_supply_changed'
drivers/hid/hid-steam.o: In function `steam_register':
hid-steam.c:(.text+0x13e3): undefined reference to `power_supply_register'
hid-steam.c:(.text+0x13fe): undefined reference to `power_supply_powers'

Bug: 254441685
Fixes: f8271979 ("HID: steam: add battery device.")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Reviewed-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
(cherry picked from commit 4b64487f)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: I2dfda94520be69ce54cfe4207e36f7fea9bc452f
parent 5674a6d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment