diff options
author | Deepak Saxena <dsaxena@plexity.net> | 2005-10-28 10:19:00 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-10-28 10:19:00 -0400 |
commit | 9fe133b149e8a48742a64b72f22041bcd31fe827 (patch) | |
tree | f1e61e32613c0c972f88a1ee8886dcefaa8ca3d5 /arch/arm/mach-omap1/board-innovator.c | |
parent | 36d28c03d17506dd30aeed9d68a4023f3e7631dc (diff) |
[ARM] 2987/1: Replace map_desc.physical with map_desc.pfn: OMAP
Patch from Deepak Saxena
OMAP map_desc.pfn conversion
Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-omap1/board-innovator.c')
-rw-r--r-- | arch/arm/mach-omap1/board-innovator.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/mach-omap1/board-innovator.c b/arch/arm/mach-omap1/board-innovator.c index df0312b596e4..fd9183ff2ed5 100644 --- a/arch/arm/mach-omap1/board-innovator.c +++ b/arch/arm/mach-omap1/board-innovator.c | |||
@@ -103,8 +103,12 @@ static struct platform_device innovator_flash_device = { | |||
103 | 103 | ||
104 | /* Only FPGA needs to be mapped here. All others are done with ioremap */ | 104 | /* Only FPGA needs to be mapped here. All others are done with ioremap */ |
105 | static struct map_desc innovator1510_io_desc[] __initdata = { | 105 | static struct map_desc innovator1510_io_desc[] __initdata = { |
106 | { OMAP1510_FPGA_BASE, OMAP1510_FPGA_START, OMAP1510_FPGA_SIZE, | 106 | { |
107 | MT_DEVICE }, | 107 | .virtual = OMAP1510_FPGA_BASE, |
108 | .pfn = __phys_to_pfn(OMAP1510_FPGA_START), | ||
109 | .length = OMAP1510_FPGA_SIZE, | ||
110 | .type = MT_DEVICE | ||
111 | } | ||
108 | }; | 112 | }; |
109 | 113 | ||
110 | static struct resource innovator1510_smc91x_resources[] = { | 114 | static struct resource innovator1510_smc91x_resources[] = { |