linux-kernel.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

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

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

^ permalink raw reply	[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).