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)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:51:02 +0000 (13:51 -0800)
Signed-off-by: San Mehat <san@google.com>
include/linux/amba/mmci.h

index 8c98113069ce9264a2bdf2fe7ae10198ceed0b9d..0fbd47eddf20512b91d441ae1fbbe143ca35dbcf 100644 (file)
@@ -31,6 +31,9 @@ struct mmci_platform_data {
        int     gpio_wp;
        int     gpio_cd;
        bool    cd_invert;
+       unsigned int status_irq;
+       int (*register_status_notify)(void (*callback)(int card_present, void *dev_id), void *dev_id);
+
 };
 
 #endif