diff options
author | Deepak Saxena <dsaxena@plexity.net> | 2005-10-28 10:19:01 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-10-28 10:19:01 -0400 |
commit | 6f9182eb32a4e6c46813928bee50df71e3fd1c74 (patch) | |
tree | 6d5579e43a5bdb8acc7dfe301906e31087f2e741 /arch/arm/mach-pxa/lubbock.c | |
parent | 9fe133b149e8a48742a64b72f22041bcd31fe827 (diff) |
[ARM] 2988/1: Replace map_desc.physical with map_desc.pfn: PXA
Patch from Deepak Saxena
PXA 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-pxa/lubbock.c')
-rw-r--r-- | arch/arm/mach-pxa/lubbock.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/lubbock.c b/arch/arm/mach-pxa/lubbock.c index 1f38033921e9..69abc7f61ed0 100644 --- a/arch/arm/mach-pxa/lubbock.c +++ b/arch/arm/mach-pxa/lubbock.c | |||
@@ -246,7 +246,12 @@ static void __init lubbock_init(void) | |||
246 | } | 246 | } |
247 | 247 | ||
248 | static struct map_desc lubbock_io_desc[] __initdata = { | 248 | static struct map_desc lubbock_io_desc[] __initdata = { |
249 | { LUBBOCK_FPGA_VIRT, LUBBOCK_FPGA_PHYS, 0x00100000, MT_DEVICE }, /* CPLD */ | 249 | { /* CPLD */ |
250 | .virtual = LUBBOCK_FPGA_VIRT, | ||
251 | .pfn = __phys_to_pfn(LUBBOCK_FPGA_PHYS), | ||
252 | .length = 0x00100000, | ||
253 | .type = MT_DEVICE | ||
254 | } | ||
250 | }; | 255 | }; |
251 | 256 | ||
252 | static void __init lubbock_map_io(void) | 257 | static void __init lubbock_map_io(void) |