diff options
author | Tony Lindgren <tony@atomide.com> | 2012-10-15 21:09:43 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-10-15 21:09:43 +0200 |
commit | 68f39e74fbc3e58ad52d008072bddacc9eee1c7e (patch) | |
tree | e1bab45bc1b479fe19f393d64d4c5a4f9f0b4a7c /drivers/mmc | |
parent | Linux 3.7-rc1 (diff) | |
download | linux-68f39e74fbc3e58ad52d008072bddacc9eee1c7e.tar.xz linux-68f39e74fbc3e58ad52d008072bddacc9eee1c7e.zip |
ARM: OMAP: Split plat/mmc.h into local headers and platform_data
We need to remove this from plat for ARM common zImage
support.
Also remove includes not needed by the omap_hsmmc.c driver.
Cc: linux-mmc@vger.kernel.org
Acked-by: Chris Ball <cjb@laptop.org>
Acked-by: Venkatraman S <svenkatr@ti.com>
[tony@atomide.com: fold in removal of unused driver includes]
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/omap.c | 3 | ||||
-rw-r--r-- | drivers/mmc/host/omap_hsmmc.c | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c index 48ad361613ef..e7c61b9b044c 100644 --- a/drivers/mmc/host/omap.c +++ b/drivers/mmc/host/omap.c @@ -28,8 +28,9 @@ #include <linux/clk.h> #include <linux/scatterlist.h> #include <linux/slab.h> +#include <linux/platform_data/mmc-omap.h> -#include <plat/mmc.h> +#include <plat/cpu.h> #include <plat/dma.h> #define OMAP_MMC_REG_CMD 0x00 diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 54bfd0cc106b..9b24bd46aad3 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c @@ -38,9 +38,7 @@ #include <linux/gpio.h> #include <linux/regulator/consumer.h> #include <linux/pm_runtime.h> -#include <mach/hardware.h> -#include <plat/mmc.h> -#include <plat/cpu.h> +#include <linux/platform_data/mmc-omap.h> /* OMAP HSMMC Host Controller Registers */ #define OMAP_HSMMC_SYSSTATUS 0x0014 |