Add linux-next specific files for 20110831
[linux-2.6/next.git] / arch / arm / mach-nuc93x / dev.c
bloba962ae9578d682d61010270238f463d1fd1ef8a9
1 /*
2 * linux/arch/arm/mach-nuc93x/dev.c
4 * Copyright (C) 2009 Nuvoton corporation.
6 * Wan ZongShun <mcuos.com@gmail.com>
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation;version 2 of the License.
14 #include <linux/kernel.h>
15 #include <linux/types.h>
16 #include <linux/interrupt.h>
17 #include <linux/list.h>
18 #include <linux/timer.h>
19 #include <linux/init.h>
20 #include <linux/platform_device.h>
22 #include <asm/mach/arch.h>
23 #include <asm/mach/map.h>
24 #include <asm/mach/irq.h>
25 #include <asm/mach-types.h>
27 #include "cpu.h"
29 /*Here should be your evb resourse,such as LCD*/
31 static struct platform_device *nuc93x_public_dev[] __initdata = {
32 &nuc93x_serial_device,
35 /* Provide adding specific CPU platform devices API */
37 void __init nuc93x_board_init(struct platform_device **device, int size)
39 platform_add_devices(device, size);
40 platform_add_devices(nuc93x_public_dev, ARRAY_SIZE(nuc93x_public_dev));