drivers: net: e1000: with DM_ETH needs DM_PCI too
authorMadalin Bucur <madalin.bucur@oss.nxp.com>
Wed, 29 Apr 2020 05:26:17 +0000 (08:26 +0300)
committerPriyanka Jain <priyanka.jain@nxp.com>
Wed, 3 Jun 2020 06:44:27 +0000 (12:14 +0530)
Compilation error occur when DM_ETH is enabled without DM_PCI.

Signed-off-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/net/Kconfig

index 0b08de0..bb23f73 100644 (file)
@@ -162,6 +162,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