can: sja1000: limit PEAK PCAN-PC Card to HAS_IOPORT
authorMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 27 Mar 2013 11:47:13 +0000 (12:47 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 27 Mar 2013 13:51:49 +0000 (14:51 +0100)
commit3fd33497f80aa528ded0db2851b48638635d5caa
tree0853aac67ff9cb92de68edb7e9af9fe942561858
parentf901b6bc404b67d96eca739857c097e022727b71
can: sja1000: limit PEAK PCAN-PC Card to HAS_IOPORT

This patch limits the PEAK PCAN-PC Card driver to systems with ioports. Fixes a
compile time breakage on SH:

    drivers/net/can/sja1000/peak_pcmcia.c:626:2: error:
        implicit declaration of function 'ioport_unmap'

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/sja1000/Kconfig