aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-clps711x/cdb89712.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-clps711x/cdb89712.c')
-rw-r--r--arch/arm/mach-clps711x/cdb89712.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-clps711x/cdb89712.c b/arch/arm/mach-clps711x/cdb89712.c
index a46c82cd271..cba7be5a06c 100644
--- a/arch/arm/mach-clps711x/cdb89712.c
+++ b/arch/arm/mach-clps711x/cdb89712.c
@@ -39,7 +39,12 @@
* ethernet driver, perhaps.
*/
static struct map_desc cdb89712_io_desc[] __initdata = {
- { ETHER_BASE, ETHER_START, ETHER_SIZE, MT_DEVICE }
+ {
+ .virtual = ETHER_BASE,
+ .pfn =__phys_to_pfn(ETHER_START),
+ .length = ETHER_SIZE,
+ .type = MT_DEVICE
+ }
};
static void __init cdb89712_map_io(void)