Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 85049276 authored by Ralf Baechle's avatar Ralf Baechle Committed by Thomas Gleixner
Browse files

i8253: Move remaining content and delete asm/i8253.h



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: default avatarRalf 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: default avatarThomas Gleixner <tglx@linutronix.de>
parent 49cf3f29
Loading
Loading
Loading
Loading

arch/arm/include/asm/i8253.h

deleted100644 → 0
+0 −4
Original line number Diff line number Diff line
#ifndef __ASMARM_I8253_H
#define __ASMARM_I8253_H

#endif

arch/mips/include/asm/i8253.h

deleted100644 → 0
+0 −10
Original line number Diff line number Diff line
/*
 *  Machine specific IO port address definition for generic.
 *  Written by Osamu Tomita <tomita@cinet.co.jp>
 */
#ifndef __ASM_I8253_H
#define __ASM_I8253_H

extern void setup_pit_timer(void);

#endif /* __ASM_I8253_H */

arch/x86/include/asm/i8253.h

deleted100644 → 0
+0 −6
Original line number Diff line number Diff line
#ifndef _ASM_X86_I8253_H
#define _ASM_X86_I8253_H

extern void setup_pit_timer(void);

#endif /* _ASM_X86_I8253_H */
+2 −1
Original line number Diff line number Diff line
@@ -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
@@ -26,4 +25,6 @@

extern raw_spinlock_t i8253_lock;

extern void setup_pit_timer(void);

#endif /* __LINUX_I8253_H */