mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-19 04:39:06 +08:00
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>
This commit is contained in:
committed by
David S. Miller
parent
cbcbeedbfd
commit
d83bb0be12
@@ -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---
|
||||
|
||||
Reference in New Issue
Block a user