mmc: Add status IRQ and status callback function to mmc platform data
San Mehat [Tue, 11 Nov 2008 00:29:50 +0000 (16:29 -0800)]
Signed-off-by: San Mehat <san@google.com>

include/linux/amba/mmci.h

index 0101e9c..9e8c02d 100644 (file)
@@ -57,6 +57,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