kernel/arch/arm/mach-omap2/mmc.h
.. .. @@ -7,8 +7,12 @@ 7 7 #define OMAP4_MMC_REG_OFFSET 0x100 8 8 9 9 struct omap_hwmod; 10 -int omap_msdi_reset(struct omap_hwmod *oh);11 10 12 -/* called from board-specific card detection service routine */13 -extern void omap_mmc_notify_cover_event(struct device *dev, int slot,14 - int is_closed);11 +#ifdef CONFIG_SOC_OMAP242012 +int omap_msdi_reset(struct omap_hwmod *oh);13 +#else14 +static inline int omap_msdi_reset(struct omap_hwmod *oh)15 +{16 + return 0;17 +}18 +#endif