ethernet: stmmac: make DWMAC_STM32 depend on it's associated SoC
Subsystems (4)
PATCH v2 1/1 ethernet: stmmac: make DWMAC_STM32 depend on it's associated SoC
There's not much point, except compile test, enabling the stmmac platform drivers unless the STM32 SoC is enabled. It's not useful without it.
Signed-off-by Peter Robinson <[email protected]>
--- drivers/net/ethernet/stmicro/stmmac/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/stmicro/stmmac/Kconfig +1 -1
@@ -107,7 +107,7 @@ config DWMAC_STI config DWMAC_STM32 tristate "STM32 DWMAC support" default ARCH_STM32 - depends on OF && HAS_IOMEM + depends on OF && HAS_IOMEM && (ARCH_STM32 || COMPILE_TEST) select MFD_SYSCON ---help--- Support for ethernet controller on STM32 SOCs.
Signature · 1 line
2.9.3
From: Peter Robinson <[email protected]>
Date: Sun, 20 Nov 2016 17:22:38 +0000
Quoted 5 lines
There's not much point, except compile test, enabling the stmmac platform drivers unless the STM32 SoC is enabled. It's not useful without it.
Signed-off-by Peter Robinson <[email protected]>
Applied.