From: Yangbo Lu Date: Mon, 8 Oct 2018 07:44:27 +0000 (+0800) Subject: net: dpaa2: fix dependency of config FSL_DPAA2_ETH X-Git-Tag: microblaze-v5.0-rc1~24^2~138 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=58b1e729b33acc558f2abb9e1e0178f060685c57;p=linux-2.6-microblaze.git net: dpaa2: fix dependency of config FSL_DPAA2_ETH The NETDEVICES dependency and ETHERNET dependency hadn't been required since dpaa2-eth was moved out of staging. Also allowed COMPILE_TEST for dpaa2-eth. Signed-off-by: Yangbo Lu Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/freescale/dpaa2/Kconfig b/drivers/net/ethernet/freescale/dpaa2/Kconfig index 67e64618b731..a7f365db0eed 100644 --- a/drivers/net/ethernet/freescale/dpaa2/Kconfig +++ b/drivers/net/ethernet/freescale/dpaa2/Kconfig @@ -1,7 +1,7 @@ config FSL_DPAA2_ETH tristate "Freescale DPAA2 Ethernet" depends on FSL_MC_BUS && FSL_MC_DPIO - depends on NETDEVICES && ETHERNET + depends on ARCH_LAYERSCAPE || COMPILE_TEST help This is the DPAA2 Ethernet driver supporting Freescale SoCs with DPAA2 (DataPath Acceleration Architecture v2).