Skip to content

Commit

Permalink
[MIPS] Cobalt: clean up include files
Browse files Browse the repository at this point in the history
Signed-off-by: Yoichi Yuasa <[email protected]>
  • Loading branch information
Yoichi Yuasa authored and ralfbaechle committed Apr 27, 2007
1 parent 7f5a771 commit cc50b67
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 16 deletions.
8 changes: 3 additions & 5 deletions arch/mips/cobalt/console.c
Original file line number Diff line number Diff line change
@@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/cobalt/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 4 additions & 7 deletions arch/mips/cobalt/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,12 @@
* Copyright (C) 1995, 1996, 1997 by Ralf Baechle
* Copyright (C) 2001 by Liam Davies ([email protected])
*/
#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)
{
Expand Down
4 changes: 1 addition & 3 deletions arch/mips/cobalt/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,10 @@
#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);
Expand Down

0 comments on commit cc50b67

Please sign in to comment.