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-u300/mmc.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-u300/mmc.c')
-rw-r--r-- | arch/arm/mach-u300/mmc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-u300/mmc.c b/arch/arm/mach-u300/mmc.c index 82af247760e6..7b6b016786bb 100644 --- a/arch/arm/mach-u300/mmc.c +++ b/arch/arm/mach-u300/mmc.c | |||
@@ -19,8 +19,8 @@ | |||
19 | #include <linux/regulator/consumer.h> | 19 | #include <linux/regulator/consumer.h> |
20 | #include <linux/regulator/machine.h> | 20 | #include <linux/regulator/machine.h> |
21 | #include <linux/gpio.h> | 21 | #include <linux/gpio.h> |
22 | #include <linux/amba/mmci.h> | ||
22 | 23 | ||
23 | #include <asm/mach/mmc.h> | ||
24 | #include "mmc.h" | 24 | #include "mmc.h" |
25 | #include "padmux.h" | 25 | #include "padmux.h" |
26 | 26 | ||
@@ -28,7 +28,7 @@ struct mmci_card_event { | |||
28 | struct input_dev *mmc_input; | 28 | struct input_dev *mmc_input; |
29 | int mmc_inserted; | 29 | int mmc_inserted; |
30 | struct work_struct workq; | 30 | struct work_struct workq; |
31 | struct mmc_platform_data mmc0_plat_data; | 31 | struct mmci_platform_data mmc0_plat_data; |
32 | }; | 32 | }; |
33 | 33 | ||
34 | static unsigned int mmc_status(struct device *dev) | 34 | static unsigned int mmc_status(struct device *dev) |