mmc: Add status IRQ and status callback function to mmc platform data
authorSan Mehat <san@google.com>
Tue, 11 Nov 2008 00:29:50 +0000 (16:29 -0800)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:02:16 +0000 (12:02 -0800)
Signed-off-by: San Mehat <san@google.com>
include/linux/amba/mmci.h

index 2111481..e9f2337 100644 (file)
@@ -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