aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2410
diff options
context:
space:
mode:
authorChrister Weinigel <christer@weinigel.se>2008-07-07 13:12:41 -0400
committerBen Dooks <ben-linux@fluff.org>2008-07-07 13:13:02 -0400
commit196a047574e1465b89bc41fda573efc9b9be70e5 (patch)
treedfa4774aab09d88dd246b9833c5d22ebdb6d5ed4 /arch/arm/mach-s3c2410
parent2e16c27aa379793c354012e5fae0aae89103b19b (diff)
[ARM] Acer n30: Source file cleanups.
Clean up some junk from the official kernel. The compile-command is something that's only useful for me personally and doesn't belong in the mainstream kernel. Signed-off-by: Christer Weinigel <christer@weinigel.se> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c2410')
-rw-r--r--arch/arm/mach-s3c2410/mach-n30.c39
1 files changed, 16 insertions, 23 deletions
diff --git a/arch/arm/mach-s3c2410/mach-n30.c b/arch/arm/mach-s3c2410/mach-n30.c
index 621f548da610..fc54e07ccac5 100644
--- a/arch/arm/mach-s3c2410/mach-n30.c
+++ b/arch/arm/mach-s3c2410/mach-n30.c
@@ -1,9 +1,9 @@
1/* linux/arch/arm/mach-s3c2410/mach-n30.c 1/* Machine specific code for the Acer n30 PDA.
2 * 2 *
3 * Copyright (c) 2003-2005 Simtec Electronics 3 * Copyright (c) 2003-2005 Simtec Electronics
4 * Ben Dooks <ben@simtec.co.uk> 4 * Ben Dooks <ben@simtec.co.uk>
5 * 5 *
6 * Copyright (c) 2005 Christer Weinigel <christer@weinigel.se> 6 * Copyright (c) 2005-2008 Christer Weinigel <christer@weinigel.se>
7 * 7 *
8 * There is a wiki with more information about the n30 port at 8 * There is a wiki with more information about the n30 port at
9 * http://handhelds.org/moin/moin.cgi/AcerN30Documentation . 9 * http://handhelds.org/moin/moin.cgi/AcerN30Documentation .
@@ -15,32 +15,32 @@
15 15
16#include <linux/kernel.h> 16#include <linux/kernel.h>
17#include <linux/types.h> 17#include <linux/types.h>
18#include <linux/interrupt.h> 18
19#include <linux/list.h>
20#include <linux/timer.h>
21#include <linux/init.h>
22#include <linux/delay.h> 19#include <linux/delay.h>
23#include <linux/serial_core.h> 20#include <linux/init.h>
21#include <linux/interrupt.h>
24#include <linux/platform_device.h> 22#include <linux/platform_device.h>
25#include <linux/kthread.h> 23#include <linux/serial_core.h>
26 24#include <linux/timer.h>
27#include <asm/mach/arch.h>
28#include <asm/mach/map.h>
29#include <asm/mach/irq.h>
30 25
31#include <asm/hardware.h> 26#include <asm/hardware.h>
32#include <asm/io.h> 27#include <asm/io.h>
33#include <asm/irq.h> 28#include <asm/irq.h>
34#include <asm/mach-types.h> 29#include <asm/mach-types.h>
35 30
36#include <asm/plat-s3c/regs-serial.h>
37#include <asm/arch/regs-gpio.h> 31#include <asm/arch/regs-gpio.h>
32
33#include <asm/mach/arch.h>
34#include <asm/mach/irq.h>
35#include <asm/mach/map.h>
36
38#include <asm/plat-s3c/iic.h> 37#include <asm/plat-s3c/iic.h>
38#include <asm/plat-s3c/regs-serial.h>
39 39
40#include <asm/plat-s3c24xx/s3c2410.h>
41#include <asm/plat-s3c24xx/clock.h> 40#include <asm/plat-s3c24xx/clock.h>
42#include <asm/plat-s3c24xx/devs.h>
43#include <asm/plat-s3c24xx/cpu.h> 41#include <asm/plat-s3c24xx/cpu.h>
42#include <asm/plat-s3c24xx/devs.h>
43#include <asm/plat-s3c24xx/s3c2410.h>
44 44
45static struct map_desc n30_iodesc[] __initdata = { 45static struct map_desc n30_iodesc[] __initdata = {
46 /* nothing here yet */ 46 /* nothing here yet */
@@ -75,11 +75,11 @@ static struct s3c2410_uartcfg n30_uartcfgs[] = {
75}; 75};
76 76
77static struct platform_device *n30_devices[] __initdata = { 77static struct platform_device *n30_devices[] __initdata = {
78 &s3c_device_usb,
79 &s3c_device_lcd, 78 &s3c_device_lcd,
80 &s3c_device_wdt, 79 &s3c_device_wdt,
81 &s3c_device_i2c, 80 &s3c_device_i2c,
82 &s3c_device_iis, 81 &s3c_device_iis,
82 &s3c_device_usb,
83 &s3c_device_usbgadget, 83 &s3c_device_usbgadget,
84}; 84};
85 85
@@ -130,10 +130,3 @@ MACHINE_START(N30, "Acer-N30")
130 .init_irq = n30_init_irq, 130 .init_irq = n30_init_irq,
131 .map_io = n30_map_io, 131 .map_io = n30_map_io,
132MACHINE_END 132MACHINE_END
133
134/*
135 Local variables:
136 compile-command: "make ARCH=arm CROSS_COMPILE=/usr/local/arm/3.3.2/bin/arm-linux- -k -C ../../.."
137 c-basic-offset: 8
138 End:
139*/