On Mon, Aug 12, 2024 at 03:17:42PM +0200, Vincent Legoll wrote: > Fix the following warning: > > CC arch/mips/ralink/timer-gic.o > arch/mips/ralink/timer-gic.c:18:13: warning: no previous prototype for 'plat_time_init' [-Wmissing-prototypes] > 18 | void __init plat_time_init(void) > | ^~~~~~~~~~~~~~ > > Signed-off-by: Vincent Legoll <vincent.legoll@xxxxxxxxx> > --- > arch/mips/ralink/timer-gic.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/mips/ralink/timer-gic.c b/arch/mips/ralink/timer-gic.c > index dcf2a44ac51e..926082655a78 100644 > --- a/arch/mips/ralink/timer-gic.c > +++ b/arch/mips/ralink/timer-gic.c > @@ -11,6 +11,8 @@ > #include <linux/of_clk.h> > #include <linux/clocksource.h> > > +#include <asm/time.h> > + > #include "common.h" > > void __init plat_time_init(void) > -- > 2.46.0 applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]