Skip to contentSkip to conversation

reset: ep93xx: add AUXILIARY_BUS dependency

PATCH Applied Arnd Bergmann 2 participants 2 messages Nov 11, 2024 – Dec 13, 2024 System reset/shutdown drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 reset: ep93xx: add AUXILIARY_BUS dependency

From: Arnd Bergmann <[email protected]>

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")
---
 drivers/power/reset/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/power/reset/Kconfig +1 -0
index 389d5a193e5d..f5fc33a8bf44 100644
@@ -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.
 
Signature · 1 line
2.39.5
#1 lore raw
This patch was applied to soc/soc.git (arm/fixes) by Sebastian Reichel <[email protected]>:

Hello:

This patch was applied to soc/soc.git (arm/fixes) by Sebastian Reichel <[email protected]>:

Quoted 10 lines · On Mon, 11 Nov 2024 11:44:12 +0100 you wrote:

From: Arnd Bergmann <[email protected]>

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'

[...]

Here is the summary with links:
- reset: ep93xx: add AUXILIARY_BUS dependency

    https://git.kernel.org/soc/soc/c/b6d445f6724d

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html