From: Ralf Baechle Date: Wed, 28 Nov 2007 15:07:42 +0000 (+0000) Subject: [MIPS] Fix build. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e6a1bb725eab1348d4a985b7faeff8186210d7b4;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [MIPS] Fix build. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/csrc-r4k.c b/arch/mips/kernel/csrc-r4k.c index 74c5c62365a..0e2b5cd81f6 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 +#include + +#include 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;