USB: ldusb should signal an error in poll if the device is disconnected
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / arm / mach-w90x900 / nuc950.c
blob149508116d18a688b081eb149df0ca1969081fa9
1 /*
2 * linux/arch/arm/mach-w90x900/nuc950.c
4 * Based on linux/arch/arm/plat-s3c24xx/s3c244x.c by Ben Dooks
6 * Copyright (c) 2008 Nuvoton technology corporation.
8 * Wan ZongShun <mcuos.com@gmail.com>
10 * NUC950 cpu support
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation;version 2 of the License.
18 #include <linux/platform_device.h>
19 #include <asm/mach/map.h>
20 #include <mach/hardware.h>
21 #include "cpu.h"
23 /* define specific CPU platform device */
25 static struct platform_device *nuc950_dev[] __initdata = {
26 &nuc900_device_kpi,
27 &nuc900_device_fmi,
30 /* define specific CPU platform io map */
32 static struct map_desc nuc950evb_iodesc[] __initdata = {
35 /*Init NUC950 evb io*/
37 void __init nuc950_map_io(void)
39 nuc900_map_io(nuc950evb_iodesc, ARRAY_SIZE(nuc950evb_iodesc));
42 /*Init NUC950 clock*/
44 void __init nuc950_init_clocks(void)
46 nuc900_init_clocks();
49 /*Init NUC950 board info*/
51 void __init nuc950_board_init(void)
53 nuc900_board_init(nuc950_dev, ARRAY_SIZE(nuc950_dev));