Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e6a1bb72 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[MIPS] Fix build.

parent 54fd6441
Loading
Loading
Loading
Loading
+5 −1
Original line number Original line Diff line number Diff line
@@ -5,6 +5,10 @@
 *
 *
 * Copyright (C) 2007 by Ralf Baechle
 * 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)
static cycle_t c0_hpt_read(void)
{
{
@@ -18,7 +22,7 @@ static struct clocksource clocksource_mips = {
	.flags		= CLOCK_SOURCE_IS_CONTINUOUS,
	.flags		= CLOCK_SOURCE_IS_CONTINUOUS,
};
};


static void __init init_mips_clocksource(void)
void __init init_mips_clocksource(void)
{
{
	/* Calclate a somewhat reasonable rating value */
	/* Calclate a somewhat reasonable rating value */
	clocksource_mips.rating = 200 + mips_hpt_frequency / 10000000;
	clocksource_mips.rating = 200 + mips_hpt_frequency / 10000000;