power: reset: ep93xx: add AUXILIARY_BUS dependency
authorArnd Bergmann <arnd@arndb.de>
Mon, 11 Nov 2024 10:44:12 +0000 (11:44 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 11 Nov 2024 23:07:00 +0000 (00:07 +0100)
commitb6d445f6724deda3fd87fa33358009d947a64c5d
tree8660de3ea4f5932f91cef8fa223fd487991ed4c3
parent05d9044177c3e910921522e0209640d3b825a6ae
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: 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>
drivers/power/reset/Kconfig