summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSan Mehat <san@google.com>2008-11-10 16:29:50 -0800
committerColin Cross <ccross@android.com>2011-06-14 09:08:50 -0700
commiteca2e01f19852075293cf4069ca70467da7ca300 (patch)
tree0192fe33293d0dc5149770b7a1f2fb8ca1badb81
parent70abd67c1d38f7df5ef9f69b80b3bbe3d4bb37f5 (diff)
mmc: Add status IRQ and status callback function to mmc platform data
Signed-off-by: San Mehat <san@google.com>
-rw-r--r--include/linux/amba/mmci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/amba/mmci.h b/include/linux/amba/mmci.h
index 21114810c7c..e9f23374354 100644
--- a/include/linux/amba/mmci.h
+++ b/include/linux/amba/mmci.h
@@ -55,6 +55,8 @@ struct mmci_platform_data {
bool (*dma_filter)(struct dma_chan *chan, void *filter_param);
void *dma_rx_param;
void *dma_tx_param;
+ unsigned int status_irq;
+ int (*register_status_notify)(void (*callback)(int card_present, void *dev_id), void *dev_id);
};
#endif