summaryrefslogtreecommitdiff
path: root/drivers/power/supply/charger-manager.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-02-15 15:47:08 +0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2023-02-16 01:49:40 +0300
commitc142872ea40a99258e2a86bf5c471bcc81752f56 (patch)
treeda362837b4bca029e9098659c3711a401273ec0c /drivers/power/supply/charger-manager.c
parent9de10a51b0c6e7c1ca99a65c043243597002202e (diff)
downloadlinux-c142872ea40a99258e2a86bf5c471bcc81752f56.tar.xz
power: reset: odroid-go-ultra: fix I2C dependency
Since this driver can only be built-in, it fails to link when the I2C layer is in a loadable module: x86_64-linux-ld: drivers/power/reset/odroid-go-ultra-poweroff.o: in function `odroid_go_ultra_poweroff_get_pmic_device': odroid-go-ultra-poweroff.c:(.text+0x30): undefined reference to `i2c_find_device_by_fwnode' Tighten the dependency to only allow enabling POWER_RESET_ODROID_GO_ULTRA_POWEROFF is I2C is built-in as well. Fixes: cec3b46b8bda ("power: reset: add Odroid Go Ultra poweroff driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/charger-manager.c')
0 files changed, 0 insertions, 0 deletions