Skip to contentSkip to conversation

dpll: add back CONFIG_NET dependency

PATCH In review Arnd Bergmann 2 participants 2 messages Aug 4, 2025

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dpll: add back CONFIG_NET dependency

From: Arnd Bergmann <[email protected]>

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")
---
 drivers/dpll/zl3073x/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
drivers/dpll/zl3073x/Kconfig +2 -0
index 9915f7423dea..95813c043f16 100644
@@ -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
Signature · 1 line
2.39.5
#1 lore raw

Hi Arnd,

Quoted 11 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

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]

Quoted 4 lines

Make all of them depend on NET.

Fixes a4f0866e3dbb ("dpll: Make ZL3073X invisible")

Thanks for your patch!

I already sent a similar patch two days ago:
https://lore.kernel.org/all/[email protected]

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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