aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/dz.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2008-02-07 03:15:09 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-07 11:42:24 -0500
commit87cff7fb0be9045241eba948502c95c17bb5b944 (patch)
treea203e1e96bed62e09cf8cae397872685ff2a2454 /drivers/serial/dz.c
parent0ba137e23e8d8f5cb15778b44be281c5687afc49 (diff)
dz: add and reorder inclusions, remove unneeded ones
Sort the header inclusions, add a few that are needed but pulled indirectly only and remove ones that are not really used. Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org> Cc: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/serial/dz.c')
-rw-r--r--drivers/serial/dz.c23
1 files changed, 13 insertions, 10 deletions
diff --git a/drivers/serial/dz.c b/drivers/serial/dz.c
index fb6f27302935..83dc75be5bbc 100644
--- a/drivers/serial/dz.c
+++ b/drivers/serial/dz.c
@@ -6,7 +6,7 @@
6 * 6 *
7 * Email: olivier.lebaillif@ifrsys.com 7 * Email: olivier.lebaillif@ifrsys.com
8 * 8 *
9 * Copyright (C) 2004, 2006 Maciej W. Rozycki 9 * Copyright (C) 2004, 2006, 2007 Maciej W. Rozycki
10 * 10 *
11 * [31-AUG-98] triemer 11 * [31-AUG-98] triemer
12 * Changed IRQ to use Harald's dec internals interrupts.h 12 * Changed IRQ to use Harald's dec internals interrupts.h
@@ -32,26 +32,29 @@
32#define SUPPORT_SYSRQ 32#define SUPPORT_SYSRQ
33#endif 33#endif
34 34
35#include <linux/bitops.h>
36#include <linux/compiler.h>
37#include <linux/console.h>
35#include <linux/delay.h> 38#include <linux/delay.h>
36#include <linux/module.h> 39#include <linux/errno.h>
37#include <linux/interrupt.h>
38#include <linux/init.h> 40#include <linux/init.h>
39#include <linux/console.h> 41#include <linux/interrupt.h>
42#include <linux/kernel.h>
43#include <linux/major.h>
44#include <linux/module.h>
45#include <linux/serial.h>
46#include <linux/serial_core.h>
40#include <linux/sysrq.h> 47#include <linux/sysrq.h>
41#include <linux/tty.h> 48#include <linux/tty.h>
42#include <linux/tty_flip.h>
43#include <linux/serial_core.h>
44#include <linux/serial.h>
45 49
46#include <asm/bootinfo.h> 50#include <asm/bootinfo.h>
51#include <asm/system.h>
52
47#include <asm/dec/interrupts.h> 53#include <asm/dec/interrupts.h>
48#include <asm/dec/kn01.h> 54#include <asm/dec/kn01.h>
49#include <asm/dec/kn02.h> 55#include <asm/dec/kn02.h>
50#include <asm/dec/machtype.h> 56#include <asm/dec/machtype.h>
51#include <asm/dec/prom.h> 57#include <asm/dec/prom.h>
52#include <asm/irq.h>
53#include <asm/system.h>
54#include <asm/uaccess.h>
55 58
56#include "dz.h" 59#include "dz.h"
57 60