summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-11-15 23:42:11 +0000
committerRalf Baechle <ralf@linux-mips.org>2007-11-26 17:26:13 +0000
commitcfb6f26035b17d5d280ce4a6ceb041438643ba63 (patch)
tree712879603237d370bbffd5761d1bb512fe920a98 /include
parent2ffbb8377c7a0713baf6644e285adc27a5654582 (diff)
downloadop-kernel-dev-cfb6f26035b17d5d280ce4a6ceb041438643ba63.zip
op-kernel-dev-cfb6f26035b17d5d280ce4a6ceb041438643ba63.tar.gz
[MIPS] Fix pcspeaker build.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include')
-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 285f784..0000000
--- 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 032ca73..5dabc87 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);
OpenPOWER on IntegriCloud