From: Madalin Bucur Date: Wed, 29 Apr 2020 05:26:17 +0000 (+0300) Subject: drivers: net: e1000: with DM_ETH needs DM_PCI too X-Git-Tag: v2020.07-rc4~2^2~26 X-Git-Url: https://git.librecmc.org/?p=oweals%2Fu-boot.git;a=commitdiff_plain;h=94472223c69f1d5dacff7ddeace67c05c62146e1 drivers: net: e1000: with DM_ETH needs DM_PCI too Compilation error occur when DM_ETH is enabled without DM_PCI. Signed-off-by: Madalin Bucur Reviewed-by: Priyanka Jain --- diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 0b08de0ef4..bb23f73fc2 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -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