summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorVincent Legoll <vincent.legoll@gmail.com>2024-08-12 15:17:43 +0200
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2024-08-29 10:29:28 +0200
commit9fd2ba4bf139bfe7781a24649d57133bd8af3624 (patch)
treec305ef30351e501cb0de534bd83663c074f5744a /arch/mips
parent4f3089ad555601b494c91aa9dfbf9c3060cc3e73 (diff)
downloadlinux-9fd2ba4bf139bfe7781a24649d57133bd8af3624.tar.gz
linux-9fd2ba4bf139bfe7781a24649d57133bd8af3624.tar.bz2
linux-9fd2ba4bf139bfe7781a24649d57133bd8af3624.zip
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>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/ralink/irq-gic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/ralink/irq-gic.c b/arch/mips/ralink/irq-gic.c
index 3bab51a5fb4c..8bc566ea00e5 100644
--- a/arch/mips/ralink/irq-gic.c
+++ b/arch/mips/ralink/irq-gic.c
@@ -10,6 +10,7 @@
#include <linux/of.h>
#include <linux/irqchip.h>
#include <asm/mips-cps.h>
+#include <asm/time.h>
int get_c0_perfcount_int(void)
{