diff options
author | Deepak Saxena <dsaxena@plexity.net> | 2005-10-28 10:19:03 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-10-28 10:19:03 -0400 |
commit | cd5fc8bffd70b2d87953334b6195db4bc2125ff9 (patch) | |
tree | e6245d10dc73176c6298b55cd6cf237b1353621a /arch | |
parent | 1cc977a76642b1eec2ab4ba80a6f0db9a63a091e (diff) |
[ARM] 2991/1: Replace map_desc.physical with map_desc.pfn: Shark
Patch from Deepak Saxena
Shark 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')
-rw-r--r-- | arch/arm/mach-shark/core.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-shark/core.c b/arch/arm/mach-shark/core.c index 946c0d11c73b..2d428b6dbb58 100644 --- a/arch/arm/mach-shark/core.c +++ b/arch/arm/mach-shark/core.c | |||
@@ -62,7 +62,12 @@ arch_initcall(shark_init); | |||
62 | extern void shark_init_irq(void); | 62 | extern void shark_init_irq(void); |
63 | 63 | ||
64 | static struct map_desc shark_io_desc[] __initdata = { | 64 | static struct map_desc shark_io_desc[] __initdata = { |
65 | { IO_BASE , IO_START , IO_SIZE , MT_DEVICE } | 65 | { |
66 | .virtual = IO_BASE, | ||
67 | .pfn = __phys_to_pfn(IO_START), | ||
68 | .length = IO_SIZE, | ||
69 | .type = MT_DEVICE | ||
70 | } | ||
66 | }; | 71 | }; |
67 | 72 | ||
68 | static void __init shark_map_io(void) | 73 | static void __init shark_map_io(void) |