mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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: Ralf Baechle <[email protected]> Cc: [email protected] Cc: Russell King <[email protected]> Cc: [email protected] Cc: Sergei Shtylyov <[email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
This commit is contained in:
parent
49cf3f29a1
commit
850492760c
4 changed files with 2 additions and 21 deletions
|
|
@ -1,4 +0,0 @@
|
|||
#ifndef __ASMARM_I8253_H
|
||||
#define __ASMARM_I8253_H
|
||||
|
||||
#endif
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
* 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 */
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
#ifndef _ASM_X86_I8253_H
|
||||
#define _ASM_X86_I8253_H
|
||||
|
||||
extern void setup_pit_timer(void);
|
||||
|
||||
#endif /* _ASM_X86_I8253_H */
|
||||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue