can: let SJA1000 driver depend on HAS_IOMEM
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 22 Jun 2009 21:31:20 +0000 (21:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jun 2009 11:16:44 +0000 (04:16 -0700)
commitfec37ab56f5b86b413f71258f36b181f57180d9c
tree82939c83f6851011e12ab199cf90cf2956c685ea
parent96f2ebd2e10417da151202c750d8664767a2194b
can: let SJA1000 driver depend on HAS_IOMEM

Fixes this compile error on s390:

drivers/net/can/sja1000/sja1000_platform.c: In function 'sp_read_reg':
drivers/net/can/sja1000/sja1000_platform.c:42: error: implicit declaration of function 'ioread8'
drivers/net/can/sja1000/sja1000_platform.c: In function 'sp_write_reg':
drivers/net/can/sja1000/sja1000_platform.c:47: error: implicit declaration of function 'iowrite8'
drivers/net/can/sja1000/sja1000_platform.c: In function 'sp_probe':
drivers/net/can/sja1000/sja1000_platform.c:79: error: implicit declaration of function 'ioremap_nocache'

Cc: Wolfgang Grandegger <wg@grandegger.com>
Cc: Oliver Hartkopp <oliver.hartkopp@volkswagen.de>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/Kconfig