Commit 3e9635e4060238549ffac239de34f6122b053653

Authored by Deepak Saxena
Committed by Russell King
1 parent a427ceef93

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

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>

Showing 1 changed file with 6 additions and 1 deletions Side-by-side Diff

arch/arm/mach-h720x/common.c
... ... @@ -237,7 +237,12 @@
237 237 }
238 238  
239 239 static struct map_desc h720x_io_desc[] __initdata = {
240   - { IO_VIRT, IO_PHYS, IO_SIZE, MT_DEVICE },
  240 + {
  241 + .virtual = IO_VIRT,
  242 + .pfn = __phys_to_pfn(IO_PHYS),
  243 + .length = IO_SIZE,
  244 + .type = MT_DEVICE
  245 + },
241 246 };
242 247  
243 248 /* Initialize io tables */