[MIPS] Cobalt: clean up include files
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Tue, 6 Mar 2007 12:34:44 +0000 (21:34 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 27 Apr 2007 15:20:23 +0000 (16:20 +0100)
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
arch/mips/cobalt/console.c
arch/mips/cobalt/irq.c
arch/mips/cobalt/reset.c
arch/mips/cobalt/setup.c

index ca56b415b8ac30c3e6b45a7c02767a9226e12ce1..0485d51f72165169190bd1895526581fd4eb35c5 100644 (file)
@@ -1,13 +1,11 @@
 /*
  * (C) P. Horton 2006
  */
-
-#include <linux/init.h>
-#include <linux/kernel.h>
-#include <linux/console.h>
 #include <linux/serial_reg.h>
+
 #include <asm/addrspace.h>
-#include <asm/mach-cobalt/cobalt.h>
+
+#include <cobalt.h>
 
 void prom_putchar(char c)
 {
index fe93b846923b85fd873953aefbe62bc9a6cf7d85..950ad1e8be444d7b68528102145bc45e68e8ce15 100644 (file)
@@ -17,7 +17,7 @@
 #include <asm/irq_cpu.h>
 #include <asm/gt64120.h>
 
-#include <asm/mach-cobalt/cobalt.h>
+#include <cobalt.h>
 
 /*
  * We have two types of interrupts that we handle, ones that come in through
index 753dfccae6fa090df4dfb5a6a1abcb53552c7050..43cca21fdbc0e4ee4ed0a5dadad9c1f29e223a91 100644 (file)
@@ -8,15 +8,12 @@
  * Copyright (C) 1995, 1996, 1997 by Ralf Baechle
  * Copyright (C) 2001 by Liam Davies (ldavies@agile.tv)
  */
-#include <linux/sched.h>
-#include <linux/mm.h>
-#include <asm/cacheflush.h>
+#include <linux/jiffies.h>
+
 #include <asm/io.h>
-#include <asm/processor.h>
 #include <asm/reboot.h>
-#include <asm/system.h>
-#include <asm/mipsregs.h>
-#include <asm/mach-cobalt/cobalt.h>
+
+#include <cobalt.h>
 
 void cobalt_machine_halt(void)
 {
index 88d34f11385acc6c42d5b518a805357e686cfecc..db0d83cf1d4eddc9909275c4f33ea0aefce49497 100644 (file)
 #include <asm/bootinfo.h>
 #include <asm/time.h>
 #include <asm/io.h>
-#include <asm/irq.h>
-#include <asm/processor.h>
 #include <asm/reboot.h>
 #include <asm/gt64120.h>
 
-#include <asm/mach-cobalt/cobalt.h>
+#include <cobalt.h>
 
 extern void cobalt_machine_restart(char *command);
 extern void cobalt_machine_halt(void);