aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@stericsson.com>2009-09-22 09:29:36 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-09-22 15:49:04 -0400
commit6ef297f86b62f187c59475784208f75c2ed8ccd8 (patch)
tree333ea36bfdf0b7382fd810b33e24f58b63fd0707 /drivers/mmc/host
parent4321532cec25e1747961d83fb4f78ec24ea92966 (diff)
ARM: 5720/1: Move MMCI header to amba include dir
This moves the mmci platform data definition struct away from arch/arm/include/asm/mach/mmc.h into the more proper place among the other primecells in include/linux/amba/mmci.h and at the same time renames it to "mmci.h", and also the struct in this file confusingly named mmc_platform_data has been renamed mmci_platform_data for clarity. Cc: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r--drivers/mmc/host/mmci.c4
-rw-r--r--drivers/mmc/host/mmci.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
index bf7c05b29e2c..79205e565c07 100644
--- a/drivers/mmc/host/mmci.c
+++ b/drivers/mmc/host/mmci.c
@@ -22,12 +22,12 @@
22#include <linux/clk.h> 22#include <linux/clk.h>
23#include <linux/scatterlist.h> 23#include <linux/scatterlist.h>
24#include <linux/gpio.h> 24#include <linux/gpio.h>
25#include <linux/amba/mmci.h>
25 26
26#include <asm/cacheflush.h> 27#include <asm/cacheflush.h>
27#include <asm/div64.h> 28#include <asm/div64.h>
28#include <asm/io.h> 29#include <asm/io.h>
29#include <asm/sizes.h> 30#include <asm/sizes.h>
30#include <asm/mach/mmc.h>
31 31
32#include "mmci.h" 32#include "mmci.h"
33 33
@@ -537,7 +537,7 @@ static void mmci_check_status(unsigned long data)
537 537
538static int __devinit mmci_probe(struct amba_device *dev, struct amba_id *id) 538static int __devinit mmci_probe(struct amba_device *dev, struct amba_id *id)
539{ 539{
540 struct mmc_platform_data *plat = dev->dev.platform_data; 540 struct mmci_platform_data *plat = dev->dev.platform_data;
541 struct mmci_host *host; 541 struct mmci_host *host;
542 struct mmc_host *mmc; 542 struct mmc_host *mmc;
543 int ret; 543 int ret;
diff --git a/drivers/mmc/host/mmci.h b/drivers/mmc/host/mmci.h
index 839f264c9725..a7f9a51a0a3e 100644
--- a/drivers/mmc/host/mmci.h
+++ b/drivers/mmc/host/mmci.h
@@ -161,7 +161,7 @@ struct mmci_host {
161 unsigned int mclk; 161 unsigned int mclk;
162 unsigned int cclk; 162 unsigned int cclk;
163 u32 pwr; 163 u32 pwr;
164 struct mmc_platform_data *plat; 164 struct mmci_platform_data *plat;
165 165
166 u8 hw_designer; 166 u8 hw_designer;
167 u8 hw_revision:4; 167 u8 hw_revision:4;