[MIPS] Fix pcspeaker build.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
2ffbb8377c
commit
cfb6f26035
2 changed files with 2 additions and 10 deletions
|
@ -1,10 +0,0 @@
|
||||||
/*
|
|
||||||
* 8253/8254 Programmable Interval Timer
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _8253PIT_H
|
|
||||||
#define _8253PIT_H
|
|
||||||
|
|
||||||
#define PIT_TICK_RATE 1193182UL
|
|
||||||
|
|
||||||
#endif
|
|
|
@ -12,6 +12,8 @@
|
||||||
#define PIT_CH0 0x40
|
#define PIT_CH0 0x40
|
||||||
#define PIT_CH2 0x42
|
#define PIT_CH2 0x42
|
||||||
|
|
||||||
|
#define PIT_TICK_RATE 1193182UL
|
||||||
|
|
||||||
extern spinlock_t i8253_lock;
|
extern spinlock_t i8253_lock;
|
||||||
|
|
||||||
extern void setup_pit_timer(void);
|
extern void setup_pit_timer(void);
|
||||||
|
|
Loading…
Reference in a new issue