![Andreas Fenkart](/assets/img/avatar_default.png)
Only a few files really need that platform header. When later splitting omap_mmc_platform_data into omap_mmc and omap_mmc_hs, those files declaring an hs mmc platform data will have to change the platform include, which is a good sanity check. Also removing omap242x_init_mmc, which is not used anywhere, checked with grep. Signed-off-by: Andreas Fenkart <afenkart@gmail.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
14 lines
361 B
C
14 lines
361 B
C
|
|
#define OMAP24XX_NR_MMC 2
|
|
#define OMAP2420_MMC_SIZE OMAP1_MMC_SIZE
|
|
#define OMAP2_MMC1_BASE 0x4809c000
|
|
|
|
#define OMAP4_MMC_REG_OFFSET 0x100
|
|
|
|
struct omap_hwmod;
|
|
int omap_msdi_reset(struct omap_hwmod *oh);
|
|
|
|
/* called from board-specific card detection service routine */
|
|
extern void omap_mmc_notify_cover_event(struct device *dev, int slot,
|
|
int is_closed);
|