summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/Makefile
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-11-16 15:05:04 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-18 14:19:20 -0800
commitc4d139cb8d7dbe67cfbaefa70230d144dbada34c (patch)
treeb987c077a9d78bb4ab112c38d8e9d868fbbd7bc6 /drivers/staging/wilc1000/Makefile
parent2e7d5377f684ea1b337a4182f5f025b300d024ff (diff)
downloadop-kernel-dev-c4d139cb8d7dbe67cfbaefa70230d144dbada34c.zip
op-kernel-dev-c4d139cb8d7dbe67cfbaefa70230d144dbada34c.tar.gz
staging/wilc1000: get rid of WILC_SDIO_IRQ_GPIO
Whether the SDIO function uses an internal or external interrupt should not be a compiletime decision but be determined at runtime. This changes the code to pass a GPIO number from the init code as early as possible, and leaves just one #ifdef WILC_SDIO_IRQ_GPIO to preserve the previous behavior. All other locations that check for the interrupt method are turned into runtime checks based on the gpio number (>=0) or the interrupt number (>0). Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/Makefile')
-rw-r--r--drivers/staging/wilc1000/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/Makefile b/drivers/staging/wilc1000/Makefile
index 9696f69..fe480c7 100644
--- a/drivers/staging/wilc1000/Makefile
+++ b/drivers/staging/wilc1000/Makefile
@@ -1,7 +1,6 @@
obj-$(CONFIG_WILC1000) += wilc1000.o
ccflags-$(CONFIG_WILC1000_SDIO) += -DWILC_SDIO -DCOMPLEMENT_BOOT
-ccflags-$(CONFIG_WILC1000_HW_OOB_INTR) += -DWILC_SDIO_IRQ_GPIO
ccflags-$(CONFIG_WILC1000_SPI) += -DWILC_SPI
ccflags-y += -DSTA_FIRMWARE=\"atmel/wilc1000_fw.bin\" \
OpenPOWER on IntegriCloud