diff options
author | Deepak Saxena <dsaxena@plexity.net> | 2005-10-28 10:19:10 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-10-28 10:19:10 -0400 |
commit | adecef744fc5b4e9316c851feec2a4d2640dd7ae (patch) | |
tree | c1b5ed76a45b6302a7ba93c3814f4583ea70d505 /arch/arm/mach-imx/generic.c | |
parent | 3e9635e4060238549ffac239de34f6122b053653 (diff) |
[ARM] 3000/1: Replace map_desc.physical with map_desc.pfn: iMX
Patch from Deepak Saxena
iMX 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-imx/generic.c')
-rw-r--r-- | arch/arm/mach-imx/generic.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/generic.c b/arch/arm/mach-imx/generic.c index f8a742bb2d5b..cb14b0682cef 100644 --- a/arch/arm/mach-imx/generic.c +++ b/arch/arm/mach-imx/generic.c | |||
@@ -273,8 +273,12 @@ static struct platform_device *devices[] __initdata = { | |||
273 | }; | 273 | }; |
274 | 274 | ||
275 | static struct map_desc imx_io_desc[] __initdata = { | 275 | static struct map_desc imx_io_desc[] __initdata = { |
276 | /* virtual physical length type */ | 276 | { |
277 | {IMX_IO_BASE, IMX_IO_PHYS, IMX_IO_SIZE, MT_DEVICE}, | 277 | .virtual = IMX_IO_BASE, |
278 | .pfn = __phys_to_pfn(IMX_IO_PHYS), | ||
279 | .length = IMX_IO_SIZE, | ||
280 | .type = MT_DEVICE | ||
281 | } | ||
278 | }; | 282 | }; |
279 | 283 | ||
280 | void __init | 284 | void __init |