diff options
author | Linus Walleij <linus.walleij@stericsson.com> | 2009-09-22 09:29:36 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-09-22 15:49:04 -0400 |
commit | 6ef297f86b62f187c59475784208f75c2ed8ccd8 (patch) | |
tree | 333ea36bfdf0b7382fd810b33e24f58b63fd0707 /arch/arm/mach-realview/core.c | |
parent | 4321532cec25e1747961d83fb4f78ec24ea92966 (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 'arch/arm/mach-realview/core.c')
-rw-r--r-- | arch/arm/mach-realview/core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-realview/core.c b/arch/arm/mach-realview/core.c index 5a5e1f72461e..a2083b60e3fb 100644 --- a/arch/arm/mach-realview/core.c +++ b/arch/arm/mach-realview/core.c | |||
@@ -30,6 +30,7 @@ | |||
30 | #include <linux/io.h> | 30 | #include <linux/io.h> |
31 | #include <linux/smsc911x.h> | 31 | #include <linux/smsc911x.h> |
32 | #include <linux/ata_platform.h> | 32 | #include <linux/ata_platform.h> |
33 | #include <linux/amba/mmci.h> | ||
33 | 34 | ||
34 | #include <asm/clkdev.h> | 35 | #include <asm/clkdev.h> |
35 | #include <asm/system.h> | 36 | #include <asm/system.h> |
@@ -44,7 +45,6 @@ | |||
44 | #include <asm/mach/flash.h> | 45 | #include <asm/mach/flash.h> |
45 | #include <asm/mach/irq.h> | 46 | #include <asm/mach/irq.h> |
46 | #include <asm/mach/map.h> | 47 | #include <asm/mach/map.h> |
47 | #include <asm/mach/mmc.h> | ||
48 | 48 | ||
49 | #include <asm/hardware/gic.h> | 49 | #include <asm/hardware/gic.h> |
50 | 50 | ||
@@ -237,14 +237,14 @@ static unsigned int realview_mmc_status(struct device *dev) | |||
237 | return readl(REALVIEW_SYSMCI) & mask; | 237 | return readl(REALVIEW_SYSMCI) & mask; |
238 | } | 238 | } |
239 | 239 | ||
240 | struct mmc_platform_data realview_mmc0_plat_data = { | 240 | struct mmci_platform_data realview_mmc0_plat_data = { |
241 | .ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34, | 241 | .ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34, |
242 | .status = realview_mmc_status, | 242 | .status = realview_mmc_status, |
243 | .gpio_wp = 17, | 243 | .gpio_wp = 17, |
244 | .gpio_cd = 16, | 244 | .gpio_cd = 16, |
245 | }; | 245 | }; |
246 | 246 | ||
247 | struct mmc_platform_data realview_mmc1_plat_data = { | 247 | struct mmci_platform_data realview_mmc1_plat_data = { |
248 | .ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34, | 248 | .ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34, |
249 | .status = realview_mmc_status, | 249 | .status = realview_mmc_status, |
250 | .gpio_wp = 19, | 250 | .gpio_wp = 19, |