]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm/arch-omap/mmc.h
ARM: OMAP: HSMMC: enable use as a module
[linux-2.6-omap-h63xx.git] / include / asm-arm / arch-omap / mmc.h
index 4d40db0a9a73cf4f17f68ece8cf753452a94992e..3c2f2c1a9ad163fb8a4bfc48f6774c21090e06ae 100644 (file)
@@ -55,13 +55,16 @@ struct omap_mmc_platform_data {
 
                const char *name;
                u32 ocr_mask;
+
+               /* Card detection IRQs */
+               int card_detect_irq;
+               int (* card_detect)(int irq);
        } slots[OMAP_MMC_MAX_SLOTS];
 };
 
 extern void omap_set_mmc_info(int host, const struct omap_mmc_platform_data *info);
 
 /* called from board-specific card detection service routine */
-extern void omap_mmc_notify_card_detect(struct device *dev, int slot, int detected);
 extern void omap_mmc_notify_cover_event(struct device *dev, int slot, int is_closed);
 
 #endif