diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-06-22 21:32:18 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-23 04:16:44 -0700 |
commit | 0cf08dcb78e8d61b6d4b2eb5cdb296d969971626 (patch) | |
tree | e811657e65e77deeefaa10f6ae1edc22cb4a80f8 /drivers/net | |
parent | fec37ab56f5b86b413f71258f36b181f57180d9c (diff) | |
download | linux-3.10-0cf08dcb78e8d61b6d4b2eb5cdb296d969971626.tar.gz linux-3.10-0cf08dcb78e8d61b6d4b2eb5cdb296d969971626.tar.bz2 linux-3.10-0cf08dcb78e8d61b6d4b2eb5cdb296d969971626.zip |
net: let KS8842 driver depend on HAS_IOMEM
Fixes this compile error on s390:
CC drivers/net/ks8842.o
drivers/net/ks8842.c: In function 'ks8842_select_bank':
drivers/net/ks8842.c:124: error: implicit declaration of function 'iowrite16'
drivers/net/ks8842.c: In function 'ks8842_write8':
drivers/net/ks8842.c:131: error: implicit declaration of function 'iowrite8'
Cc: Richard Rojfors <richard.rojfors.ext@mocean-labs.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')
-rw-r--r-- | drivers/net/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 01f282cd098..dd145c1714a 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -1725,6 +1725,7 @@ config TLAN config KS8842 tristate "Micrel KSZ8842" + depends on HAS_IOMEM help This platform driver is for Micrel KSZ8842 chip. |