netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dpll: add back CONFIG_NET dependency
@ 2025-08-04  8:33 Arnd Bergmann
  2025-08-04  8:51 ` Geert Uytterhoeven
  0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2025-08-04  8:33 UTC (permalink / raw)
  To: Ivan Vecera, Prathosh Satish, Jakub Kicinski, Geert Uytterhoeven
  Cc: Arnd Bergmann, Jiri Pirko, netdev, linux-kernel

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-04  8:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-04  8:33 [PATCH] dpll: add back CONFIG_NET dependency Arnd Bergmann
2025-08-04  8:51 ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).