Skip to content

Commit

Permalink
[ARM] 2999/1: Replace map_desc.physical with map_desc.pfn: H720x
Browse files Browse the repository at this point in the history
Patch from Deepak Saxena

H720x map_desc.pfn conversion

Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Deepak Saxena authored and Russell King committed Oct 28, 2005
1 parent a427cee commit 3e9635e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion arch/arm/mach-h720x/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,12 @@ void __init h720x_init_irq (void)
}

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 */
Expand Down

0 comments on commit 3e9635e

Please sign in to comment.