dpaa2-eth: Fix Kconfig dependencies
authorIoana Radulescu <ruxandra.radulescu@nxp.com>
Fri, 12 Oct 2018 16:27:25 +0000 (16:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Oct 2018 05:23:19 +0000 (22:23 -0700)
commitb12cef51b537d869f423c0f4bb2d2245ce2e5619
tree2bcd48fd99c0b399df8aee292134df322798e0ee
parent5b3a5a14f84c326413d00a213ad4c950d43af2c8
dpaa2-eth: Fix Kconfig dependencies

Both ARCH_LAYERSCAPE and COMPILE_TEST dependencies are already implied
through the FSL_MC_BUS dep, so there's no need to state it explicitly.

Also, the fsl-mc bus depends on COMPILE_TEST only for some
architectures (arm, arm64, ppc, x86), so it's not correct to
claim build support unconditionally.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/Kconfig