diff options
author | Tony Lindgren <tony@atomide.com> | 2006-07-01 14:56:44 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-07-01 14:56:44 -0400 |
commit | ce9c1a8388e16f2a158491ceb5c58a6101b905f6 (patch) | |
tree | 00028beeb3c308dc16c47622c5855a84ebf783b0 /arch/arm/plat-omap/devices.c | |
parent | 0d1bca1602fb9996a3730e0e882945d7361507b1 (diff) |
[ARM] 3678/1: MMC: Make OMAP MMC work
Patch from Tony Lindgren
This patch makes OMAP MMC work again:
- Fix compile errors
- Do not ioremap base as it is already statically mapped
- Clean-up platform device handling
- Fix compile warnings
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-omap/devices.c')
-rw-r--r-- | arch/arm/plat-omap/devices.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/plat-omap/devices.c b/arch/arm/plat-omap/devices.c index ee15b4089127..8bff56673831 100644 --- a/arch/arm/plat-omap/devices.c +++ b/arch/arm/plat-omap/devices.c | |||
@@ -162,8 +162,8 @@ static u64 mmc1_dmamask = 0xffffffff; | |||
162 | 162 | ||
163 | static struct resource mmc1_resources[] = { | 163 | static struct resource mmc1_resources[] = { |
164 | { | 164 | { |
165 | .start = IO_ADDRESS(OMAP_MMC1_BASE), | 165 | .start = OMAP_MMC1_BASE, |
166 | .end = IO_ADDRESS(OMAP_MMC1_BASE) + 0x7f, | 166 | .end = OMAP_MMC1_BASE + 0x7f, |
167 | .flags = IORESOURCE_MEM, | 167 | .flags = IORESOURCE_MEM, |
168 | }, | 168 | }, |
169 | { | 169 | { |
@@ -191,8 +191,8 @@ static u64 mmc2_dmamask = 0xffffffff; | |||
191 | 191 | ||
192 | static struct resource mmc2_resources[] = { | 192 | static struct resource mmc2_resources[] = { |
193 | { | 193 | { |
194 | .start = IO_ADDRESS(OMAP_MMC2_BASE), | 194 | .start = OMAP_MMC2_BASE, |
195 | .end = IO_ADDRESS(OMAP_MMC2_BASE) + 0x7f, | 195 | .end = OMAP_MMC2_BASE + 0x7f, |
196 | .flags = IORESOURCE_MEM, | 196 | .flags = IORESOURCE_MEM, |
197 | }, | 197 | }, |
198 | { | 198 | { |