Compilation error occur when DM_ETH is enabled without DM_PCI.

Signed-off-by: Madalin Bucur <madalin.bu...@oss.nxp.com>
---
 drivers/net/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 4d1013c..4313d04 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -156,6 +156,7 @@ config DWC_ETH_QOS
 
 config E1000
        bool "Intel PRO/1000 Gigabit Ethernet support"
+       depends on (DM_ETH && DM_PCI) || !DM_ETH
        help
          This driver supports Intel(R) PRO/1000 gigabit ethernet family of
          adapters.  For more information on how to identify your adapter, go
-- 
2.1.0

Reply via email to