net: ethernet: Add missing MFD_SYSCON dependency on HAS_IOMEM
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 4 Mar 2016 01:04:52 +0000 (10:04 +0900)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Mar 2016 19:45:07 +0000 (14:45 -0500)
The MFD_SYSCON depends on HAS_IOMEM so when selecting it avoid unmet
direct dependencies.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/Kconfig

index 74beb1867230c9cf62a60a2843825316e6d9cdbc..4ccc032633c4e57576b316cca8f0486a3e8b4a98 100644 (file)
@@ -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