aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/mmc.h
diff options
context:
space:
mode:
authorAndreas Fenkart <afenkart@gmail.com>2014-11-08 09:33:08 -0500
committerUlf Hansson <ulf.hansson@linaro.org>2014-11-26 08:30:53 -0500
commit826c71a06588675a797534220364ed74df6188c0 (patch)
treef69ca7614b0fa8b7b9ac331b238d8dd4c05cae4d /arch/arm/mach-omap2/mmc.h
parentb5b64fa6cd6bd053db2b89a41792597d08913036 (diff)
ARM: OMAP2: MMC: include mmc-omap platform header directly
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>
Diffstat (limited to 'arch/arm/mach-omap2/mmc.h')
-rw-r--r--arch/arm/mach-omap2/mmc.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/mmc.h b/arch/arm/mach-omap2/mmc.h
index 0cd4b089da9c..30d39b97e7dd 100644
--- a/arch/arm/mach-omap2/mmc.h
+++ b/arch/arm/mach-omap2/mmc.h
@@ -1,5 +1,3 @@
1#include <linux/mmc/host.h>
2#include <linux/platform_data/mmc-omap.h>
3 1
4#define OMAP24XX_NR_MMC 2 2#define OMAP24XX_NR_MMC 2
5#define OMAP2420_MMC_SIZE OMAP1_MMC_SIZE 3#define OMAP2420_MMC_SIZE OMAP1_MMC_SIZE
@@ -7,14 +5,6 @@
7 5
8#define OMAP4_MMC_REG_OFFSET 0x100 6#define OMAP4_MMC_REG_OFFSET 0x100
9 7
10#if defined(CONFIG_MMC_OMAP) || defined(CONFIG_MMC_OMAP_MODULE)
11void omap242x_init_mmc(struct omap_mmc_platform_data **mmc_data);
12#else
13static inline void omap242x_init_mmc(struct omap_mmc_platform_data **mmc_data)
14{
15}
16#endif
17
18struct omap_hwmod; 8struct omap_hwmod;
19int omap_msdi_reset(struct omap_hwmod *oh); 9int omap_msdi_reset(struct omap_hwmod *oh);
20 10