diff options
author | Deepak Saxena <dsaxena@plexity.net> | 2005-10-28 10:19:05 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-10-28 10:19:05 -0400 |
commit | f10083f5a6f4a2735cca3a8c762457272ea66bf0 (patch) | |
tree | fcfe67bcb1b14305ffdad376a2b0ee10377a1916 /arch/arm/mach-clps711x/cdb89712.c | |
parent | 92519d82828a93743adc31202927f411601c0d04 (diff) |
[ARM] 2993/1: Replace map_desc.physical with map_desc.pfn: CLPS711x
Patch from Deepak Saxena
CLSP711x map_desc.pfn conversion
Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-clps711x/cdb89712.c')
-rw-r--r-- | arch/arm/mach-clps711x/cdb89712.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-clps711x/cdb89712.c b/arch/arm/mach-clps711x/cdb89712.c index a46c82cd2711..cba7be5a06c3 100644 --- a/arch/arm/mach-clps711x/cdb89712.c +++ b/arch/arm/mach-clps711x/cdb89712.c | |||
@@ -39,7 +39,12 @@ | |||
39 | * ethernet driver, perhaps. | 39 | * ethernet driver, perhaps. |
40 | */ | 40 | */ |
41 | static struct map_desc cdb89712_io_desc[] __initdata = { | 41 | static struct map_desc cdb89712_io_desc[] __initdata = { |
42 | { ETHER_BASE, ETHER_START, ETHER_SIZE, MT_DEVICE } | 42 | { |
43 | .virtual = ETHER_BASE, | ||
44 | .pfn =__phys_to_pfn(ETHER_START), | ||
45 | .length = ETHER_SIZE, | ||
46 | .type = MT_DEVICE | ||
47 | } | ||
43 | }; | 48 | }; |
44 | 49 | ||
45 | static void __init cdb89712_map_io(void) | 50 | static void __init cdb89712_map_io(void) |