1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * MMC definitions for OMAP2 4 */ 5 6 struct mmc_card; 7 8 struct omap2_hsmmc_info { 9 u8 mmc; /* controller 1/2/3 */ 10 u32 caps; /* 4/8 wires and any additional host 11 * capabilities OR'd (ref. linux/mmc/host.h) */ 12 struct platform_device *pdev; /* mmc controller instance */ 13 /* init some special card */ 14 void (*init_card)(struct mmc_card *card); 15 }; 16 17 #if IS_ENABLED(CONFIG_MMC_OMAP_HS) 18 19 void omap_hsmmc_init(struct omap2_hsmmc_info *); 20 void omap_hsmmc_late_init(struct omap2_hsmmc_info *); 21 22 #else 23 omap_hsmmc_init(struct omap2_hsmmc_info * info)24static inline void omap_hsmmc_init(struct omap2_hsmmc_info *info) 25 { 26 } 27 omap_hsmmc_late_init(struct omap2_hsmmc_info * info)28static inline void omap_hsmmc_late_init(struct omap2_hsmmc_info *info) 29 { 30 } 31 32 #endif 33