1

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>
This commit is contained in:
Vincent Legoll 2024-08-12 15:17:43 +02:00 committed by Thomas Bogendoerfer
parent 4f3089ad55
commit 9fd2ba4bf1

View File

@ -10,6 +10,7 @@
#include <linux/of.h> #include <linux/of.h>
#include <linux/irqchip.h> #include <linux/irqchip.h>
#include <asm/mips-cps.h> #include <asm/mips-cps.h>
#include <asm/time.h>
int get_c0_perfcount_int(void) int get_c0_perfcount_int(void)
{ {