aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cortina/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-01-21 14:15:41 +0100
committerDavid S. Miller <davem@davemloft.net>2018-01-21 18:05:30 -0500
commitd83bb0be127d1068874ba6c0f230cfa6743c64af (patch)
treea330e635f6c64ed3b40fbef017fe249d0536a2ee /drivers/net/ethernet/cortina/Kconfig
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next (diff)
downloadlinux-dev-d83bb0be127d1068874ba6c0f230cfa6743c64af.tar.xz
linux-dev-d83bb0be127d1068874ba6c0f230cfa6743c64af.zip
net: gemini: Depend on HAS_IOMEM
The zeroday builder notices that since Usermode Linux does not have IO memory, the build fails for them when selecting everything it can enable. As the driver is clearly using memory-mapped registers to access the network adapter, we add depends on HAS_IOMEM to solve this problem. Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cortina/Kconfig')
-rw-r--r--drivers/net/ethernet/cortina/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/cortina/Kconfig b/drivers/net/ethernet/cortina/Kconfig
index 0df743ea51f1..89bc4579724d 100644
--- a/drivers/net/ethernet/cortina/Kconfig
+++ b/drivers/net/ethernet/cortina/Kconfig
@@ -14,6 +14,7 @@ if NET_VENDOR_CORTINA
config GEMINI_ETHERNET
tristate "Gemini Gigabit Ethernet support"
depends on OF
+ depends on HAS_IOMEM
select PHYLIB
select CRC32
---help---