diff options
author | Vincent Legoll | 2024-08-12 15:17:43 +0200 |
---|---|---|
committer | Thomas Bogendoerfer | 2024-08-29 10:29:28 +0200 |
commit | 9fd2ba4bf139bfe7781a24649d57133bd8af3624 (patch) | |
tree | c305ef30351e501cb0de534bd83663c074f5744a /arch/mips | |
parent | 4f3089ad555601b494c91aa9dfbf9c3060cc3e73 (diff) |
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.c | 1 |
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) { |