[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>
This commit is contained in:
committed by
Russell King
parent
9fe133b149
commit
6f9182eb32
@ -246,7 +246,12 @@ static void __init lubbock_init(void)
|
||||
}
|
||||
|
||||
static struct map_desc lubbock_io_desc[] __initdata = {
|
||||
{ LUBBOCK_FPGA_VIRT, LUBBOCK_FPGA_PHYS, 0x00100000, MT_DEVICE }, /* CPLD */
|
||||
{ /* CPLD */
|
||||
.virtual = LUBBOCK_FPGA_VIRT,
|
||||
.pfn = __phys_to_pfn(LUBBOCK_FPGA_PHYS),
|
||||
.length = 0x00100000,
|
||||
.type = MT_DEVICE
|
||||
}
|
||||
};
|
||||
|
||||
static void __init lubbock_map_io(void)
|
||||
|
Reference in New Issue
Block a user