summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2024-11-11 11:44:12 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-05 14:02:30 +0100
commit7c29aa9487d499d68a52906c4077eb164dd0aa43 (patch)
tree0053c6951da9eb8db062fbd4737ef35b572d5feb /drivers/power
parente38ac7fbd5bcc64aeab9b911496a6983d4fd929e (diff)
downloadlinux-7c29aa9487d499d68a52906c4077eb164dd0aa43.tar.gz
linux-7c29aa9487d499d68a52906c4077eb164dd0aa43.tar.bz2
linux-7c29aa9487d499d68a52906c4077eb164dd0aa43.zip
power: reset: ep93xx: add AUXILIARY_BUS dependency
[ Upstream commit b6d445f6724deda3fd87fa33358009d947a64c5d ] This fails to link when compile-testing and the auxiliary bus is not built-in: x86_64-linux-ld: drivers/power/reset/ep93xx-restart.o: in function `ep93xx_reboot_driver_init': ep93xx-restart.c:(.init.text+0x11): undefined reference to `__auxiliary_driver_register' x86_64-linux-ld: drivers/power/reset/ep93xx-restart.o: in function `ep93xx_reboot_driver_exit': ep93xx-restart.c:(.exit.text+0x8): undefined reference to `auxiliary_driver_unregister' Add the appropriate dependency. Fixes: 9fa7cdb4368f ("power: reset: Add a driver for the ep93xx reset") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20241111104418.3891756-1-arnd@kernel.org Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/reset/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig
index 389d5a193e5d..f5fc33a8bf44 100644
--- a/drivers/power/reset/Kconfig
+++ b/drivers/power/reset/Kconfig
@@ -79,6 +79,7 @@ config POWER_RESET_EP93XX
bool "Cirrus EP93XX reset driver" if COMPILE_TEST
depends on MFD_SYSCON
default ARCH_EP93XX
+ select AUXILIARY_BUS
help
This driver provides restart support for Cirrus EP93XX SoC.