aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-11-28 15:07:42 +0000
committerRalf Baechle <ralf@linux-mips.org>2007-12-01 00:39:37 +0000
commite6a1bb725eab1348d4a985b7faeff8186210d7b4 (patch)
tree89ab8c1f804a3658938250fe58ba40b2fb318da0
parent54fd6441e04696c046d93e4407a9e1ee9b874e51 (diff)
downloadkernel_samsung_aries-e6a1bb725eab1348d4a985b7faeff8186210d7b4.zip
kernel_samsung_aries-e6a1bb725eab1348d4a985b7faeff8186210d7b4.tar.gz
kernel_samsung_aries-e6a1bb725eab1348d4a985b7faeff8186210d7b4.tar.bz2
[MIPS] Fix build.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/kernel/csrc-r4k.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/mips/kernel/csrc-r4k.c b/arch/mips/kernel/csrc-r4k.c
index 74c5c62..0e2b5cd 100644
--- a/arch/mips/kernel/csrc-r4k.c
+++ b/arch/mips/kernel/csrc-r4k.c
@@ -5,6 +5,10 @@
*
* Copyright (C) 2007 by Ralf Baechle
*/
+#include <linux/clocksource.h>
+#include <linux/init.h>
+
+#include <asm/time.h>
static cycle_t c0_hpt_read(void)
{
@@ -18,7 +22,7 @@ static struct clocksource clocksource_mips = {
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
};
-static void __init init_mips_clocksource(void)
+void __init init_mips_clocksource(void)
{
/* Calclate a somewhat reasonable rating value */
clocksource_mips.rating = 200 + mips_hpt_frequency / 10000000;