Skip to content

Commit 4eabe4c

Browse files
geertukuba-moo
authored andcommitted
dpll: zl3073x: ZL3073X_I2C and ZL3073X_SPI should depend on NET
When making ZL3073X invisible, it was overlooked that ZL3073X depends on NET, while ZL3073X_I2C and ZL3073X_SPI do not, causing: WARNING: unmet direct dependencies detected for ZL3073X when selected by ZL3073X_I2C WARNING: unmet direct dependencies detected for ZL3073X when selected by ZL3073X_SPI WARNING: unmet direct dependencies detected for ZL3073X Depends on [n]: NET [=n] Selected by [y]: - ZL3073X_I2C [=y] && I2C [=y] Selected by [y]: - ZL3073X_SPI [=y] && SPI [=y] Fix this by adding the missing dependencies to ZL3073X_I2C and ZL3073X_SPI. Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Fixes: a4f0866 ("dpll: Make ZL3073X invisible") Signed-off-by: Geert Uytterhoeven <[email protected]> Acked-by: Ivan Vecera <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent ffd2dc4 commit 4eabe4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/dpll/zl3073x/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ config ZL3073X
1616

1717
config ZL3073X_I2C
1818
tristate "I2C bus implementation for Microchip Azurite devices"
19-
depends on I2C
19+
depends on I2C && NET
2020
select REGMAP_I2C
2121
select ZL3073X
2222
help
@@ -28,7 +28,7 @@ config ZL3073X_I2C
2828

2929
config ZL3073X_SPI
3030
tristate "SPI bus implementation for Microchip Azurite devices"
31-
depends on SPI
31+
depends on NET && SPI
3232
select REGMAP_SPI
3333
select ZL3073X
3434
help

0 commit comments

Comments
 (0)