* [PATCH v2] net: ethernet: Add missing MFD_SYSCON dependency on HAS_IOMEM
@ 2016-03-04 1:04 Krzysztof Kozlowski
2016-03-07 19:45 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2016-03-04 1:04 UTC (permalink / raw)
To: David S. Miller, Arnd Bergmann, netdev, linux-kernel; +Cc: Krzysztof Kozlowski
The MFD_SYSCON depends on HAS_IOMEM so when selecting it avoid unmet
direct dependencies.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
Changes since v1:
1. Fix comments from Arnd: Don't add the dependency where it exists
already through parents or other dependencies.
---
drivers/net/ethernet/hisilicon/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/hisilicon/Kconfig b/drivers/net/ethernet/hisilicon/Kconfig
index 74beb1867230..4ccc032633c4 100644
--- a/drivers/net/ethernet/hisilicon/Kconfig
+++ b/drivers/net/ethernet/hisilicon/Kconfig
@@ -25,6 +25,7 @@ config HIX5HD2_GMAC
config HIP04_ETH
tristate "HISILICON P04 Ethernet support"
+ depends on HAS_IOMEM # For MFD_SYSCON
select MARVELL_PHY
select MFD_SYSCON
select HNS_MDIO
--
2.5.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] net: ethernet: Add missing MFD_SYSCON dependency on HAS_IOMEM
2016-03-04 1:04 [PATCH v2] net: ethernet: Add missing MFD_SYSCON dependency on HAS_IOMEM Krzysztof Kozlowski
@ 2016-03-07 19:45 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2016-03-07 19:45 UTC (permalink / raw)
To: k.kozlowski; +Cc: arnd, netdev, linux-kernel
From: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Date: Fri, 04 Mar 2016 10:04:52 +0900
> The MFD_SYSCON depends on HAS_IOMEM so when selecting it avoid unmet
> direct dependencies.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-07 19:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-04 1:04 [PATCH v2] net: ethernet: Add missing MFD_SYSCON dependency on HAS_IOMEM Krzysztof Kozlowski
2016-03-07 19:45 ` 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).