aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/mmc-omap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/platform_data/mmc-omap.h')
-rw-r--r--include/linux/platform_data/mmc-omap.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/platform_data/mmc-omap.h b/include/linux/platform_data/mmc-omap.h
index 9acf0e87aa9b..91051e9907f3 100644
--- a/include/linux/platform_data/mmc-omap.h
+++ b/include/linux/platform_data/mmc-omap.h
@@ -108,11 +108,13 @@ struct omap_mmc_platform_data {
const char *name;
u32 ocr_mask;
- /* Card detection IRQs */
- int card_detect_irq;
+ /* Card detection */
int (*card_detect)(struct device *dev, int slot);
unsigned int ban_openended:1;
} slots[OMAP_MMC_MAX_SLOTS];
};
+
+extern void omap_mmc_notify_cover_event(struct device *dev, int slot,
+ int is_closed);