drivers/dpll/zl3073x/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
From: Arnd Bergmann <arnd@arndb.de>
Making the two bus specific front-ends the primary Kconfig symbol
results in a build failure when CONFIG_NET is disabled as this now
ignores the dependency:
WARNING: unmet direct dependencies detected for ZL3073X
Depends on [n]: NET [=n]
Selected by [y]:
- ZL3073X_I2C [=y] && I2C [=y]
Make all of them depend on NET.
Fixes: a4f0866e3dbb ("dpll: Make ZL3073X invisible")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/dpll/zl3073x/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/dpll/zl3073x/Kconfig b/drivers/dpll/zl3073x/Kconfig
index 9915f7423dea..95813c043f16 100644
--- a/drivers/dpll/zl3073x/Kconfig
+++ b/drivers/dpll/zl3073x/Kconfig
@@ -17,6 +17,7 @@ config ZL3073X
config ZL3073X_I2C
tristate "I2C bus implementation for Microchip Azurite devices"
depends on I2C
+ depends on NET
select REGMAP_I2C
select ZL3073X
help
@@ -29,6 +30,7 @@ config ZL3073X_I2C
config ZL3073X_SPI
tristate "SPI bus implementation for Microchip Azurite devices"
depends on SPI
+ depends on NET
select REGMAP_SPI
select ZL3073X
help
--
2.39.5
Hi Arnd, On Mon, 4 Aug 2025 at 10:33, Arnd Bergmann <arnd@kernel.org> wrote: > From: Arnd Bergmann <arnd@arndb.de> > > Making the two bus specific front-ends the primary Kconfig symbol > results in a build failure when CONFIG_NET is disabled as this now > ignores the dependency: > > WARNING: unmet direct dependencies detected for ZL3073X > Depends on [n]: NET [=n] > Selected by [y]: > - ZL3073X_I2C [=y] && I2C [=y] > > Make all of them depend on NET. > > Fixes: a4f0866e3dbb ("dpll: Make ZL3073X invisible") > Signed-off-by: Arnd Bergmann <arnd@arndb.de> Thanks for your patch! I already sent a similar patch two days ago: https://lore.kernel.org/all/20250802155302.3673457-1-geert+renesas@glider.be Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
© 2016 - 2025 Red Hat, Inc.