diff options
Diffstat (limited to 'arch/arm/mach-imx/generic.c')
-rw-r--r-- | arch/arm/mach-imx/generic.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/generic.c b/arch/arm/mach-imx/generic.c index f8a742bb2d5b..837d7f0bda4c 100644 --- a/arch/arm/mach-imx/generic.c +++ b/arch/arm/mach-imx/generic.c | |||
@@ -26,6 +26,8 @@ | |||
26 | #include <linux/init.h> | 26 | #include <linux/init.h> |
27 | #include <linux/kernel.h> | 27 | #include <linux/kernel.h> |
28 | #include <linux/module.h> | 28 | #include <linux/module.h> |
29 | #include <linux/string.h> | ||
30 | |||
29 | #include <asm/arch/imxfb.h> | 31 | #include <asm/arch/imxfb.h> |
30 | #include <asm/hardware.h> | 32 | #include <asm/hardware.h> |
31 | #include <asm/arch/imx-regs.h> | 33 | #include <asm/arch/imx-regs.h> |
@@ -273,8 +275,12 @@ static struct platform_device *devices[] __initdata = { | |||
273 | }; | 275 | }; |
274 | 276 | ||
275 | static struct map_desc imx_io_desc[] __initdata = { | 277 | static struct map_desc imx_io_desc[] __initdata = { |
276 | /* virtual physical length type */ | 278 | { |
277 | {IMX_IO_BASE, IMX_IO_PHYS, IMX_IO_SIZE, MT_DEVICE}, | 279 | .virtual = IMX_IO_BASE, |
280 | .pfn = __phys_to_pfn(IMX_IO_PHYS), | ||
281 | .length = IMX_IO_SIZE, | ||
282 | .type = MT_DEVICE | ||
283 | } | ||
278 | }; | 284 | }; |
279 | 285 | ||
280 | void __init | 286 | void __init |