dpll: add back CONFIG_NET dependency
Subsystems (4)
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.
--- drivers/dpll/zl3073x/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
drivers/dpll/zl3073x/Kconfig +2 -0
@@ -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
Hi Arnd,
Quoted 11 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
Making the two bus specific front-ends the primary
Kconfigsymbol results in a build failure whenCONFIG_NETis 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")Signed-off-by Arnd Bergmann <[email protected]>
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