summaryrefslogtreecommitdiffstats
path: root/include/linux/spi/wl12xx.h
diff options
context:
space:
mode:
authorGrazvydas Ignotas2010-04-16 12:22:12 +0200
committerJohn W. Linville2010-04-16 21:47:14 +0200
commita02a2956809d88b42b9a1f8003d60a343353b5ea (patch)
tree58f3375f5b8c54ca68ca32ae30b705e11c2457af /include/linux/spi/wl12xx.h
parentath9k_htc: Fix sparse endian warnings (diff)
downloadkernel-qcow2-linux-a02a2956809d88b42b9a1f8003d60a343353b5ea.tar.gz
kernel-qcow2-linux-a02a2956809d88b42b9a1f8003d60a343353b5ea.tar.xz
kernel-qcow2-linux-a02a2956809d88b42b9a1f8003d60a343353b5ea.zip
wl1251: add support for dedicated IRQ line
wl1251 has WLAN_IRQ pin for generating interrupts to host processor, which is mandatory in SPI mode and optional in SDIO mode (which can use SDIO interrupts instead). However TI recommends using deditated IRQ line for SDIO too. Add support for using dedicated interrupt line with SDIO, but also leave ability to switch to SDIO interrupts in case it's needed. Signed-off-by: Grazvydas Ignotas <notasas@gmail.com> Reviewed-by: Bob Copeland <me@bobcopeland.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/spi/wl12xx.h')
-rw-r--r--include/linux/spi/wl12xx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/spi/wl12xx.h b/include/linux/spi/wl12xx.h
index aed64ed3dc8a..a223ecbc71ef 100644
--- a/include/linux/spi/wl12xx.h
+++ b/include/linux/spi/wl12xx.h
@@ -26,6 +26,8 @@
struct wl12xx_platform_data {
void (*set_power)(bool enable);
+ /* SDIO only: IRQ number if WLAN_IRQ line is used, 0 for SDIO IRQs */
+ int irq;
bool use_eeprom;
};