USB: serial: option: reimplement interface masking
[linux/fpc-iii.git] / arch / arm / mach-omap2 / hsmmc.h
blobaf9af5094ec33811e0fa5fba562e87a51e7568ff
1 /*
2 * MMC definitions for OMAP2
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
9 struct mmc_card;
11 struct omap2_hsmmc_info {
12 u8 mmc; /* controller 1/2/3 */
13 u32 caps; /* 4/8 wires and any additional host
14 * capabilities OR'd (ref. linux/mmc/host.h) */
15 int gpio_cd; /* or -EINVAL */
16 int gpio_wp; /* or -EINVAL */
17 struct platform_device *pdev; /* mmc controller instance */
18 /* init some special card */
19 void (*init_card)(struct mmc_card *card);
22 #if IS_ENABLED(CONFIG_MMC_OMAP_HS)
24 void omap_hsmmc_init(struct omap2_hsmmc_info *);
25 void omap_hsmmc_late_init(struct omap2_hsmmc_info *);
27 #else
29 static inline void omap_hsmmc_init(struct omap2_hsmmc_info *info)
33 static inline void omap_hsmmc_late_init(struct omap2_hsmmc_info *info)
37 #endif