提交 3fd33497 编写于 作者: M Marc Kleine-Budde

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: NFengguang Wu <fengguang.wu@intel.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: NMarc Kleine-Budde <mkl@pengutronix.de>
上级 f901b6bc
...@@ -46,6 +46,7 @@ config CAN_EMS_PCI ...@@ -46,6 +46,7 @@ config CAN_EMS_PCI
config CAN_PEAK_PCMCIA config CAN_PEAK_PCMCIA
tristate "PEAK PCAN-PC Card" tristate "PEAK PCAN-PC Card"
depends on PCMCIA depends on PCMCIA
depends on HAS_IOPORT
---help--- ---help---
This driver is for the PCAN-PC Card PCMCIA adapter (1 or 2 channels) This driver is for the PCAN-PC Card PCMCIA adapter (1 or 2 channels)
from PEAK-System (http://www.peak-system.com). To compile this from PEAK-System (http://www.peak-system.com). To compile this
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册