summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-clps711x/ceiva.c
diff options
context:
space:
mode:
authorDeepak Saxena <dsaxena@plexity.net>2005-10-28 15:19:05 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-10-28 15:19:05 +0100
commitf10083f5a6f4a2735cca3a8c762457272ea66bf0 (patch)
treefcfe67bcb1b14305ffdad376a2b0ee10377a1916 /arch/arm/mach-clps711x/ceiva.c
parent92519d82828a93743adc31202927f411601c0d04 (diff)
downloadop-kernel-dev-f10083f5a6f4a2735cca3a8c762457272ea66bf0.zip
op-kernel-dev-f10083f5a6f4a2735cca3a8c762457272ea66bf0.tar.gz
[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/ceiva.c')
-rw-r--r--arch/arm/mach-clps711x/ceiva.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/arch/arm/mach-clps711x/ceiva.c b/arch/arm/mach-clps711x/ceiva.c
index 780d918..35d51a7 100644
--- a/arch/arm/mach-clps711x/ceiva.c
+++ b/arch/arm/mach-clps711x/ceiva.c
@@ -37,11 +37,13 @@
#include "common.h"
static struct map_desc ceiva_io_desc[] __initdata = {
- /* virtual, physical, length, type */
-
- /* SED1355 controlled video RAM & registers */
- { CEIVA_VIRT_SED1355, CEIVA_PHYS_SED1355, SZ_2M, MT_DEVICE }
-
+ /* SED1355 controlled video RAM & registers */
+ {
+ .virtual = CEIVA_VIRT_SED1355,
+ .pfn = __phys_to_pfn(CEIVA_PHYS_SED1355),
+ .length = SZ_2M,
+ .type = MT_DEVICE
+ }
};
OpenPOWER on IntegriCloud