Skip to content

Commit

Permalink
[MIPS] cleanup WRPPMC include files
Browse files Browse the repository at this point in the history
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Yoichi Yuasa authored and Ralf Baechle committed Oct 11, 2007
1 parent dec8b1c commit 4b92fe2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 35 deletions.
23 changes: 5 additions & 18 deletions arch/mips/gt64120/wrppmc/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,13 @@
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/
#include <linux/errno.h>
#include <linux/hardirq.h>
#include <linux/init.h>
#include <linux/kernel_stat.h>
#include <linux/module.h>
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/types.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/timex.h>
#include <linux/slab.h>
#include <linux/random.h>
#include <linux/bitops.h>
#include <asm/bootinfo.h>
#include <asm/io.h>
#include <asm/bitops.h>
#include <asm/mipsregs.h>
#include <asm/system.h>
#include <asm/irq_cpu.h>
#include <linux/irq.h>

#include <asm/gt64120.h>
#include <asm/irq_cpu.h>
#include <asm/mipsregs.h>

asmlinkage void plat_irq_dispatch(void)
{
Expand Down
3 changes: 2 additions & 1 deletion arch/mips/gt64120/wrppmc/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
* for more details.
*/
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/kernel.h>

#include <asm/gt64120.h>

extern struct pci_ops gt64xxx_pci0_ops;
Expand Down
10 changes: 3 additions & 7 deletions arch/mips/gt64120/wrppmc/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,10 @@
*
* Copyright (C) 1997 Ralf Baechle
*/
#include <linux/sched.h>
#include <linux/mm.h>
#include <asm/io.h>
#include <asm/pgtable.h>
#include <asm/processor.h>
#include <asm/reboot.h>
#include <asm/system.h>
#include <linux/kernel.h>

#include <asm/cacheflush.h>
#include <asm/mipsregs.h>

void wrppmc_machine_restart(char *command)
{
Expand Down
11 changes: 2 additions & 9 deletions arch/mips/gt64120/wrppmc/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,11 @@
* Copyright (C) 2006, Wind River System Inc.
*/
#include <linux/init.h>
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/param.h> /* for HZ */
#include <linux/irq.h>
#include <linux/timex.h>
#include <linux/interrupt.h>
#include <linux/irq.h>

#include <asm/reboot.h>
#include <asm/time.h>
#include <asm/io.h>
#include <asm/bootinfo.h>
#include <asm/gt64120.h>
#include <asm/time.h>

#define WRPPMC_CPU_CLK_FREQ 40000000 /* 40MHZ */

Expand Down

0 comments on commit 4b92fe2

Please sign in to comment.