net: ethernet: freescale: make UCC_GETH explicitly depend on PPC32
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Thu, 28 Nov 2019 14:55:52 +0000 (15:55 +0100)
committerLi Yang <leoyang.li@nxp.com>
Mon, 9 Dec 2019 19:59:03 +0000 (13:59 -0600)
Currently, QUICC_ENGINE depends on PPC32, so this in itself does not
change anything. In order to allow removing the PPC32 dependency from
QUICC_ENGINE and avoid allmodconfig build failures, add this explicit
dependency.

Also, the QE Ethernet has never been integrated on any non-PowerPC SoC
and most likely will not be in the future.

Reviewed-by: Timur Tabi <timur@kernel.org>
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
drivers/net/ethernet/freescale/Kconfig

index 6a7e899..2bd7ace 100644 (file)
@@ -74,7 +74,7 @@ config FSL_XGMAC_MDIO
 
 config UCC_GETH
        tristate "Freescale QE Gigabit Ethernet"
-       depends on QUICC_ENGINE
+       depends on QUICC_ENGINE && PPC32
        select FSL_PQ_MDIO
        select PHYLIB
        ---help---