]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - arch/arm/mach-omap2/io.c
ARM: OMAP: Cleanup omap2 path in comments.
[linux-2.6-omap-h63xx.git] / arch / arm / mach-omap2 / io.c
1 /*
2  * linux/arch/arm/mach-omap2/io.c
3  *
4  * OMAP2 I/O mapping code
5  *
6  * Copyright (C) 2005 Nokia Corporation
7  * Author: Juha Yrjölä <juha.yrjola@nokia.com>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License version 2 as
11  * published by the Free Software Foundation.
12  */
13
14 #include <linux/config.h>
15 #include <linux/module.h>
16 #include <linux/kernel.h>
17 #include <linux/init.h>
18
19 #include <asm/mach/map.h>
20 #include <asm/io.h>
21
22 /*
23  * The machine specific code may provide the extra mapping besides the
24  * default mapping provided here.
25  */
26 static struct map_desc omap2_io_desc[] __initdata = {
27         { IO_VIRT,      IO_PHYS,        IO_SIZE,        MT_DEVICE },
28 };
29
30 void __init omap_map_common_io(void)
31 {
32         iotable_init(omap2_io_desc, ARRAY_SIZE(omap2_io_desc));
33 }