git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ARM] 2999/1: Replace map_desc.physical with map_desc.pfn: H720x
[pandora-kernel.git]
/
arch
/
arm
/
mach-h720x
/
common.c
diff --git
a/arch/arm/mach-h720x/common.c
b/arch/arm/mach-h720x/common.c
index
5110e2e
..
c096b45
100644
(file)
--- a/
arch/arm/mach-h720x/common.c
+++ b/
arch/arm/mach-h720x/common.c
@@
-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 */