* [PATCH v2] ethernet: stmmac: make DWMAC_STM32 depend on it's associated SoC
@ 2016-11-20 17:22 Peter Robinson
2016-11-21 16:34 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Peter Robinson @ 2016-11-20 17:22 UTC (permalink / raw)
To: Giuseppe Cavallaro, Alexandre Torgue, Maxime Coquelin, netdev
Cc: Peter Robinson
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 <pbrobinson@gmail.com>
---
drivers/net/ethernet/stmicro/stmmac/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/stmicro/stmmac/Kconfig b/drivers/net/ethernet/stmicro/stmmac/Kconfig
index 3818c5e..4b78168 100644
--- a/drivers/net/ethernet/stmicro/stmmac/Kconfig
+++ b/drivers/net/ethernet/stmicro/stmmac/Kconfig
@@ -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.
--
2.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] ethernet: stmmac: make DWMAC_STM32 depend on it's associated SoC
2016-11-20 17:22 [PATCH v2] ethernet: stmmac: make DWMAC_STM32 depend on it's associated SoC Peter Robinson
@ 2016-11-21 16:34 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2016-11-21 16:34 UTC (permalink / raw)
To: pbrobinson; +Cc: peppe.cavallaro, alexandre.torgue, mcoquelin.stm32, netdev
From: Peter Robinson <pbrobinson@gmail.com>
Date: Sun, 20 Nov 2016 17:22:38 +0000
> 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 <pbrobinson@gmail.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-11-21 16:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-20 17:22 [PATCH v2] ethernet: stmmac: make DWMAC_STM32 depend on it's associated SoC Peter Robinson
2016-11-21 16:34 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).