ethernet: stmmac: make DWMAC_STM32 depend on it's associated SoC
Subsystems (4)
PATCH 1/2 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.
--- 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
David Miller
maintainerFrom: Peter Robinson <[email protected]>
Date: Sun, 6 Nov 2016 20:04:37 +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]>
Please don't post just some of the patches in a patch series.
Always post the complete series, with a proper "[PATCH 0/2] ..." posting at the beginning.
Quoted 7 lines · David Miller
From: Peter Robinson <[email protected]>
Date: Sun, 6 Nov 2016 20:04:37 +0000Quoted 4 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.
Quoted 6 lines
Quoted 1 line
Signed-off-by Peter Robinson <[email protected]>Please don't post just some of the patches in a patch series.
Always post the complete series, with a proper "[PATCH 0/2] ..." posting at the beginning.
Sorry, it was a stm branch, I should have broke it our differently. I can recompose and send this one again on it's own.
Peter