]>
git.ipfire.org Git - thirdparty/kernel/stable.git/blob - arch/arm/mach-omap2/hsmmc.h
76c5ed2afa724b007e339b8e05d9476fea5e1806
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * MMC definitions for OMAP2
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
);
17 #if IS_ENABLED(CONFIG_MMC_OMAP_HS)
19 void omap_hsmmc_init(struct omap2_hsmmc_info
*);
20 void omap_hsmmc_late_init(struct omap2_hsmmc_info
*);
24 static inline void omap_hsmmc_init(struct omap2_hsmmc_info
*info
)
28 static inline void omap_hsmmc_late_init(struct omap2_hsmmc_info
*info
)