Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: ralink: Fix missing `get_c0_perfcount_int` prototype

Fix the following warning:

CC arch/mips/ralink/irq-gic.o
arch/mips/ralink/irq-gic.c:15:5: warning: no previous prototype for 'get_c0_perfcount_int' [-Wmissing-prototypes]
15 | int get_c0_perfcount_int(void)
| ^~~~~~~~~~~~~~~~~~~~

Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>

authored by

Vincent Legoll and committed by
Thomas Bogendoerfer
9fd2ba4b 4f3089ad

+1
+1
arch/mips/ralink/irq-gic.c
··· 10 10 #include <linux/of.h> 11 11 #include <linux/irqchip.h> 12 12 #include <asm/mips-cps.h> 13 + #include <asm/time.h> 13 14 14 15 int get_c0_perfcount_int(void) 15 16 {