[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20250807072241.4190376-1-arnd@kernel.org>
Date: Thu, 7 Aug 2025 09:22:37 +0200
From: Arnd Bergmann <arnd@...nel.org>
To: Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Tomer Maimon <tmaimon77@...il.com>
Cc: Arnd Bergmann <arnd@...db.de>,
Yixun Lan <dlan@...too.org>,
Sven Peter <sven@...nel.org>,
Inochi Amaoto <inochiama@...look.com>,
Andrea della Porta <andrea.porta@...e.com>,
Robert Marko <robert.marko@...tura.hr>,
Théo Lebrun <theo.lebrun@...tlin.com>,
Nikita Shubin <nikita.shubin@...uefel.me>,
Andreas Kemnade <andreas@...nade.info>,
linux-clk@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] clk: npcm: select CONFIG_AUXILIARY_BUS
From: Arnd Bergmann <arnd@...db.de>
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@...db.de>
---
drivers/clk/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index 4d56475f94fc..b1425aed6593 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -364,6 +364,7 @@ config COMMON_CLK_LOCHNAGAR
config COMMON_CLK_NPCM8XX
tristate "Clock driver for the NPCM8XX SoC Family"
depends on ARCH_NPCM || COMPILE_TEST
+ select AUXILIARY_BUS
help
This driver supports the clocks on the Nuvoton BMC NPCM8XX SoC Family,
all the clocks are initialized by the bootloader, so this driver
--
2.39.5
Powered by blists - more mailing lists