net: let KS8842 driver depend on HAS_IOMEM
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 22 Jun 2009 21:32:18 +0000 (21:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jun 2009 11:16:44 +0000 (04:16 -0700)
commit0cf08dcb78e8d61b6d4b2eb5cdb296d969971626
treee811657e65e77deeefaa10f6ae1edc22cb4a80f8
parentfec37ab56f5b86b413f71258f36b181f57180d9c
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>
drivers/net/Kconfig