summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/Kconfig
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2016-01-25 23:24:12 +0100
committerDavid S. Miller <davem@davemloft.net>2016-01-28 16:03:19 -0800
commitc731f0e3493cc9031a0aceea6a50c70beed23e6d (patch)
tree3ed7cc4f87a8b849df2da9e7bf27929897c6dafe /drivers/net/phy/Kconfig
parentd88270eef4b56bd7973841dd1fed387ccfa83709 (diff)
downloadlinux-c731f0e3493cc9031a0aceea6a50c70beed23e6d.tar.bz2
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>
Diffstat (limited to 'drivers/net/phy/Kconfig')
-rw-r--r--drivers/net/phy/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
index 60994a83a0d6..f0a77020037a 100644
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -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