clk: npcm: select CONFIG_AUXILIARY_BUS

There are very rare randconfig builds that turn on this driver but
don't already select CONFIG_AUXILIARY_BUS from another driver, and
this results in a build failure:

arm-linux-gnueabi-ld: drivers/clk/clk-npcm8xx.o: in function `npcm8xx_clock_driver_init':
clk-npcm8xx.c:(.init.text+0x18): undefined reference to `__auxiliary_driver_register'

Select the bus here, as all other clk drivers using it do.

Fixes: e0b255df02 ("clk: npcm8xx: add clock controller")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20250807072241.4190376-1-arnd@kernel.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
Arnd Bergmann 2025-08-07 09:22:37 +02:00 committed by Stephen Boyd
parent 4239b174c2
commit c123519bff
No known key found for this signature in database
GPG Key ID: AD028897C6E49525
1 changed files with 1 additions and 0 deletions

View File

@ -364,6 +364,7 @@ config COMMON_CLK_LOCHNAGAR
config COMMON_CLK_NPCM8XX config COMMON_CLK_NPCM8XX
tristate "Clock driver for the NPCM8XX SoC Family" tristate "Clock driver for the NPCM8XX SoC Family"
depends on ARCH_NPCM || COMPILE_TEST depends on ARCH_NPCM || COMPILE_TEST
select AUXILIARY_BUS
help help
This driver supports the clocks on the Nuvoton BMC NPCM8XX SoC Family, This driver supports the clocks on the Nuvoton BMC NPCM8XX SoC Family,
all the clocks are initialized by the bootloader, so this driver all the clocks are initialized by the bootloader, so this driver