From: Fabian Frederick Date: Wed, 18 Jun 2014 17:48:02 +0000 (+0200) Subject: LIBERTAS_CS: ioport_map/unmap relies on HAS_IOPORT_MAP X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=11c761c4816c2b2d7704a94e5ab3f010d816e601;p=linux-beck.git LIBERTAS_CS: ioport_map/unmap relies on HAS_IOPORT_MAP Fixing following sh-allmodconfig errors reported on kisskb " drivers/net/wireless/libertas/if_cs.c:826:3: error: implicit declaration of function 'ioport_unmap' [-Werror=implicit-function-declaration] drivers/net/wireless/libertas/if_cs.c:878:2: error: implicit declaration of function 'ioport_map' [-Werror=implicit-function-declaration] " Cc: "John W. Linville" Cc: Dan Williams Cc: linux-wireless@vger.kernel.org Signed-off-by: Fabian Frederick Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/libertas/Kconfig b/drivers/net/wireless/libertas/Kconfig index 0485c9957575..e6268ceacbf1 100644 --- a/drivers/net/wireless/libertas/Kconfig +++ b/drivers/net/wireless/libertas/Kconfig @@ -16,7 +16,7 @@ config LIBERTAS_USB config LIBERTAS_CS tristate "Marvell Libertas 8385 CompactFlash 802.11b/g cards" - depends on LIBERTAS && PCMCIA + depends on LIBERTAS && PCMCIA && HAS_IOPORT_MAP ---help--- A driver for Marvell Libertas 8385 CompactFlash devices.