Linux SOC development
 help / color / mirror / Atom feed
* [PATCH] reset: ep93xx: add AUXILIARY_BUS dependency
@ 2024-11-11 10:44 Arnd Bergmann
  2024-12-13 15:23 ` patchwork-bot+linux-soc
  0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2024-11-11 10:44 UTC (permalink / raw)
  To: Sebastian Reichel, Nikita Shubin, Vinod Koul, Arnd Bergmann
  Cc: soc, linux-pm, linux-kernel

From: Arnd Bergmann <arnd@arndb.de>

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>
---
 drivers/power/reset/Kconfig | 1 +
 1 file changed, 1 insertion(+)

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.
 
-- 
2.39.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] reset: ep93xx: add AUXILIARY_BUS dependency
  2024-11-11 10:44 [PATCH] reset: ep93xx: add AUXILIARY_BUS dependency Arnd Bergmann
@ 2024-12-13 15:23 ` patchwork-bot+linux-soc
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+linux-soc @ 2024-12-13 15:23 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: soc

Hello:

This patch was applied to soc/soc.git (arm/fixes)
by Sebastian Reichel <sebastian.reichel@collabora.com>:

On Mon, 11 Nov 2024 11:44:12 +0100 you wrote:
> From: Arnd Bergmann <arnd@arndb.de>
> 
> 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!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-13 15:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-11 10:44 [PATCH] reset: ep93xx: add AUXILIARY_BUS dependency Arnd Bergmann
2024-12-13 15:23 ` patchwork-bot+linux-soc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox