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>
This commit is contained in:
Maciej W. Rozycki 2008-02-07 00:15:09 -08:00 committed by Linus Torvalds
parent 0ba137e23e
commit 87cff7fb0b
1 changed files with 14 additions and 11 deletions

View File

@ -6,7 +6,7 @@
* *
* Email: olivier.lebaillif@ifrsys.com * Email: olivier.lebaillif@ifrsys.com
* *
* Copyright (C) 2004, 2006 Maciej W. Rozycki * Copyright (C) 2004, 2006, 2007 Maciej W. Rozycki
* *
* [31-AUG-98] triemer * [31-AUG-98] triemer
* Changed IRQ to use Harald's dec internals interrupts.h * Changed IRQ to use Harald's dec internals interrupts.h
@ -32,26 +32,29 @@
#define SUPPORT_SYSRQ #define SUPPORT_SYSRQ
#endif #endif
#include <linux/delay.h> #include <linux/bitops.h>
#include <linux/module.h> #include <linux/compiler.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/console.h> #include <linux/console.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/major.h>
#include <linux/module.h>
#include <linux/serial.h>
#include <linux/serial_core.h>
#include <linux/sysrq.h> #include <linux/sysrq.h>
#include <linux/tty.h> #include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/serial_core.h>
#include <linux/serial.h>
#include <asm/bootinfo.h> #include <asm/bootinfo.h>
#include <asm/system.h>
#include <asm/dec/interrupts.h> #include <asm/dec/interrupts.h>
#include <asm/dec/kn01.h> #include <asm/dec/kn01.h>
#include <asm/dec/kn02.h> #include <asm/dec/kn02.h>
#include <asm/dec/machtype.h> #include <asm/dec/machtype.h>
#include <asm/dec/prom.h> #include <asm/dec/prom.h>
#include <asm/irq.h>
#include <asm/system.h>
#include <asm/uaccess.h>
#include "dz.h" #include "dz.h"