Commit 3e9635e4 authored by Deepak Saxena's avatar Deepak Saxena Committed by Russell King

[ARM] 2999/1: Replace map_desc.physical with map_desc.pfn: H720x

Patch from Deepak Saxena

H720x map_desc.pfn conversion
Signed-off-by: default avatarDeepak Saxena <dsaxena@plexity.net>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent a427ceef
...@@ -237,7 +237,12 @@ void __init h720x_init_irq (void) ...@@ -237,7 +237,12 @@ void __init h720x_init_irq (void)
} }
static struct map_desc h720x_io_desc[] __initdata = { static struct map_desc h720x_io_desc[] __initdata = {
{ IO_VIRT, IO_PHYS, IO_SIZE, MT_DEVICE }, {
.virtual = IO_VIRT,
.pfn = __phys_to_pfn(IO_PHYS),
.length = IO_SIZE,
.type = MT_DEVICE
},
}; };
/* Initialize io tables */ /* Initialize io tables */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment