Skip to content

Commit b6d445f

Browse files
arndbsre
authored andcommitted
power: reset: ep93xx: add AUXILIARY_BUS dependency
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: 9fa7cdb ("power: reset: Add a driver for the ep93xx reset") Signed-off-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sebastian Reichel <[email protected]>
1 parent 05d9044 commit b6d445f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/power/reset/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ config POWER_RESET_EP93XX
7979
bool "Cirrus EP93XX reset driver" if COMPILE_TEST
8080
depends on MFD_SYSCON
8181
default ARCH_EP93XX
82+
select AUXILIARY_BUS
8283
help
8384
This driver provides restart support for Cirrus EP93XX SoC.
8485

0 commit comments

Comments
 (0)