diff mbox series

net: sparx5: fix unmet dependencies warning

Message ID 20210721223337.25722-1-rdunlap@infradead.org
State New
Headers show
Series net: sparx5: fix unmet dependencies warning | expand

Commit Message

Randy Dunlap July 21, 2021, 10:33 p.m. UTC
WARNING: unmet direct dependencies detected for PHY_SPARX5_SERDES
  Depends on [n]: (ARCH_SPARX5 || COMPILE_TEST [=n]) && OF [=y] && HAS_IOMEM [=y]
  Selected by [y]:
  - SPARX5_SWITCH [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_MICROCHIP [=y] && NET_SWITCHDEV [=y] && HAS_IOMEM [=y] && OF [=y]


Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Lars Povlsen <lars.povlsen@microchip.com>
Cc: Steen Hegelund <Steen.Hegelund@microchip.com>
Cc: UNGLinuxDriver@microchip.com
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
---
 drivers/net/ethernet/microchip/sparx5/Kconfig |    1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

--- lnx-514-rc2.orig/drivers/net/ethernet/microchip/sparx5/Kconfig
+++ lnx-514-rc2/drivers/net/ethernet/microchip/sparx5/Kconfig
@@ -3,6 +3,7 @@  config SPARX5_SWITCH
 	depends on NET_SWITCHDEV
 	depends on HAS_IOMEM
 	depends on OF
+	depends on ARCH_SPARX5 || COMPILE_TEST
 	select PHYLINK
 	select PHY_SPARX5_SERDES
 	select RESET_CONTROLLER