]> www.infradead.org Git - users/jedix/linux-maple.git/commit
clk: npcm: select CONFIG_AUXILIARY_BUS
authorArnd Bergmann <arnd@arndb.de>
Thu, 7 Aug 2025 07:22:37 +0000 (09:22 +0200)
committerStephen Boyd <sboyd@kernel.org>
Thu, 14 Aug 2025 19:51:11 +0000 (12:51 -0700)
commitc123519bffd29e6320d3a8c4977f9e5a86d6b83d
tree2af8830ad3f7f92da84c518e3dc38630241c619f
parent4239b174c2fc8307a1939ebaf51118109935a8fc
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: e0b255df027e ("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>
drivers/clk/Kconfig