Re: [PATCH] mux: mmio: Fix missing CONFIG_REGMAP_MMIO
From: Krzysztof Kozlowski <hidden>
Date: 2025-05-16 08:58:41
Also in:
lkml
On 16/05/2025 10:26, Krzysztof Kozlowski wrote:
On 16/05/2025 10:16, Krzysztof Kozlowski wrote:quoted
On Thu, 15 May 2025 16:05:56 +0200, Krzysztof Kozlowski wrote:quoted
MMIO mux uses now regmap_init_mmio(), so one way or another CONFIG_REGMAP_MMIO should be enabled, because there are no stubs for !REGMAP_MMIO case: ERROR: modpost: "__regmap_init_mmio_clk" [drivers/mux/mux-mmio.ko] undefined! REGMAP_MMIO should be, because it is a non-visible symbol, but this causes a circular dependency: [...]Applied, thanks! [1/1] mux: mmio: Fix missing CONFIG_REGMAP_MMIO https://git.kernel.org/krzk/linux/c/39bff565b40d26cc51f6e85b3b224c86a563367eAnd dropped. More recursive dependencies are detected, so my fix here is incomplete. error: recursive dependency detected! symbol REGMAP default is visible depending on REGMAP_MMIO symbol REGMAP_MMIO is selected by MUX_MMIO symbol MUX_MMIO depends on MULTIPLEXER symbol MULTIPLEXER is selected by MDIO_BUS_MUX_MULTIPLEXER symbol MDIO_BUS_MUX_MULTIPLEXER depends on MDIO_BUS symbol MDIO_BUS is selected by REGMAP https://krzk.eu/#/builders/43/builds/4855 That's a mess, I need work on this a bit more.
My branch fails with above error because I do not have Heiner's commit
a3e1c0ad8357 ("net: phy: factor out provider part from mdio_bus.c").
Will it reach current RC (rc7) at some point? I could merge the tag to
my next branch to solve it.
Best regards,
Krzysztof