hc
2024-09-20 a36159eec6ca17402b0e146b86efaf76568dc353
kernel/arch/arm/mach-omap2/mmc.h
....@@ -7,8 +7,12 @@
77 #define OMAP4_MMC_REG_OFFSET 0x100
88
99 struct omap_hwmod;
10
-int omap_msdi_reset(struct omap_hwmod *oh);
1110
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_OMAP2420
12
+int omap_msdi_reset(struct omap_hwmod *oh);
13
+#else
14
+static inline int omap_msdi_reset(struct omap_hwmod *oh)
15
+{
16
+ return 0;
17
+}
18
+#endif