]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
net: gemini: Depend on HAS_IOMEM
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 21 Jan 2018 13:15:41 +0000 (14:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 Jan 2018 23:05:30 +0000 (18:05 -0500)
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>
drivers/net/ethernet/cortina/Kconfig

index 0df743ea51f15b1265f168ba134ea1f7ba1f8165..89bc4579724d7a02f931789f5af4740882aa5dbe 100644 (file)
@@ -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---