summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/mmci.h
diff options
context:
space:
mode:
authorRabin Vincent2010-08-09 13:55:48 +0200
committerRussell King2010-09-23 16:01:59 +0200
commit148b8b39c156424da22693d26adcb69800faf95e (patch)
treecf3c1f37a69d81cfb04e968cb7911371ddf9ed80 /drivers/mmc/host/mmci.h
parentARM: 6310/1: mmci: support different FIFO sizes (diff)
downloadkernel-qcow2-linux-148b8b39c156424da22693d26adcb69800faf95e.tar.gz
kernel-qcow2-linux-148b8b39c156424da22693d26adcb69800faf95e.tar.xz
kernel-qcow2-linux-148b8b39c156424da22693d26adcb69800faf95e.zip
ARM: 6308/1: mmci: support card detection interrupts
If an IRQ can be requested on the card detected GPIO, use it instead of polling. Acked-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mmc/host/mmci.h')
-rw-r--r--drivers/mmc/host/mmci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/mmci.h b/drivers/mmc/host/mmci.h
index 4e18f5403f48..c7d373c7aec9 100644
--- a/drivers/mmc/host/mmci.h
+++ b/drivers/mmc/host/mmci.h
@@ -147,6 +147,7 @@ struct mmci_host {
struct clk *clk;
int gpio_cd;
int gpio_wp;
+ int gpio_cd_irq;
unsigned int data_xfered;