Skip to content

Commit

Permalink
i8253: Move remaining content and delete asm/i8253.h
Browse files Browse the repository at this point in the history
Move setup_pit_timer() declaration to the common header file and
remove the arch specific ones.

[ tglx: Move it to linux/i8253.h instead of asm/mips and asm/x86 ]

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Russell King <linux@arm.linux.org.uk>
Cc: linux-mips@linux-mips.org
Cc: Sergei Shtylyov <sshtylyov@mvista.com
Link: http://lkml.kernel.org/r/20110601180610.913463093@duck.linux-mips.net
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Ralf Baechle authored and Thomas Gleixner committed Jun 9, 2011
1 parent 49cf3f2 commit 8504927
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 21 deletions.
4 changes: 0 additions & 4 deletions arch/arm/include/asm/i8253.h

This file was deleted.

10 changes: 0 additions & 10 deletions arch/mips/include/asm/i8253.h

This file was deleted.

6 changes: 0 additions & 6 deletions arch/x86/include/asm/i8253.h

This file was deleted.

3 changes: 2 additions & 1 deletion include/linux/i8253.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include <linux/param.h>
#include <linux/spinlock.h>
#include <linux/timex.h>
#include <asm/i8253.h>

/* i8253A PIT registers */
#define PIT_MODE 0x43
Expand All @@ -26,4 +25,6 @@

extern raw_spinlock_t i8253_lock;

extern void setup_pit_timer(void);

#endif /* __LINUX_I8253_H */

0 comments on commit 8504927

Please sign in to comment.