net: Fix dependencies for !HAS_IOMEM archs

Not every arch has io memory.
So, unbreak the build by fixing the dependencies.

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Richard Weinberger 2016-01-25 23:24:12 +01:00 коммит произвёл David S. Miller
Родитель d88270eef4
Коммит c731f0e349
2 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -18,6 +18,7 @@ if NET_VENDOR_EZCHIP
config EZCHIP_NPS_MANAGEMENT_ENET
tristate "EZchip NPS management enet support"
depends on OF_IRQ && OF_NET
depends on HAS_IOMEM
---help---
Simple LAN device for debug or management purposes.
Device supports interrupts for RX and TX(completion).

Просмотреть файл

@ -186,6 +186,7 @@ config MDIO_GPIO
config MDIO_OCTEON
tristate "Support for MDIO buses on Octeon and ThunderX SOCs"
depends on 64BIT
depends on HAS_IOMEM
help
This module provides a driver for the Octeon and ThunderX MDIO