[MIPS] Fix build.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Родитель
54fd6441e0
Коммит
e6a1bb725e
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче