summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-11-16 02:42:11 +0300
committerRalf Baechle <ralf@linux-mips.org>2007-11-26 20:26:13 +0300
commitcfb6f26035b17d5d280ce4a6ceb041438643ba63 (patch)
tree712879603237d370bbffd5761d1bb512fe920a98
parent2ffbb8377c7a0713baf6644e285adc27a5654582 (diff)
downloadlinux-cfb6f26035b17d5d280ce4a6ceb041438643ba63.tar.xz
[MIPS] Fix pcspeaker build.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--include/asm-mips/8253pit.h10
-rw-r--r--include/asm-mips/i8253.h2
2 files changed, 2 insertions, 10 deletions
diff --git a/include/asm-mips/8253pit.h b/include/asm-mips/8253pit.h
deleted file mode 100644
index 285f78488ccb..000000000000
--- a/include/asm-mips/8253pit.h
+++ /dev/null
@@ -1,10 +0,0 @@
-/*
- * 8253/8254 Programmable Interval Timer
- */
-
-#ifndef _8253PIT_H
-#define _8253PIT_H
-
-#define PIT_TICK_RATE 1193182UL
-
-#endif
diff --git a/include/asm-mips/i8253.h b/include/asm-mips/i8253.h
index 032ca73f181b..5dabc870b322 100644
--- a/include/asm-mips/i8253.h
+++ b/include/asm-mips/i8253.h
@@ -12,6 +12,8 @@
#define PIT_CH0 0x40
#define PIT_CH2 0x42
+#define PIT_TICK_RATE 1193182UL
+
extern spinlock_t i8253_lock;
extern void setup_pit_timer(void);