diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2011-09-22 09:44:54 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-09-23 19:45:47 +0200 |
commit | 757216efb8f1bcab152c3f4c33ad7862b2f6663a (patch) | |
tree | 29fb9cfa8dca893a1a9ed99ac6e8ea064944c5f9 /drivers/net/ethernet/seeq | |
parent | vmxnet3: convert to SKB paged frag API. (diff) | |
download | linux-757216efb8f1bcab152c3f4c33ad7862b2f6663a.tar.xz linux-757216efb8f1bcab152c3f4c33ad7862b2f6663a.zip |
seeq: fix compile breakage on s390
The SEEQ drivers should depend on HAS_IOMEM to prevent compile breakage
on !HAS_IOMEM architectures:
drivers/net/ethernet/seeq/seeq8005.c: In function 'seeq8005_probe1':
drivers/net/ethernet/seeq/seeq8005.c:179:2: error:
implicit declaration of function 'inw' [-Werror=implicit-function-declaration]
Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/seeq')
-rw-r--r-- | drivers/net/ethernet/seeq/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/seeq/Kconfig b/drivers/net/ethernet/seeq/Kconfig index 49b6d5b1dfd2..29f18533fdc7 100644 --- a/drivers/net/ethernet/seeq/Kconfig +++ b/drivers/net/ethernet/seeq/Kconfig @@ -5,6 +5,7 @@ config NET_VENDOR_SEEQ bool "SEEQ devices" default y + depends on HAS_IOMEM depends on (ARM && ARCH_ACORN) || SGI_HAS_SEEQ || EXPERIMENTAL ---help--- If you have a network (Ethernet) card belonging to this class, say Y |