From: Vincent Legoll Date: Mon, 12 Aug 2024 13:17:43 +0000 (+0200) Subject: MIPS: ralink: Fix missing `get_c0_perfcount_int` prototype X-Git-Tag: v6.12-rc1~222^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fd2ba4bf139bfe7781a24649d57133bd8af3624;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Thomas Bogendoerfer --- diff --git a/arch/mips/ralink/irq-gic.c b/arch/mips/ralink/irq-gic.c index 3bab51a5fb4c7..8bc566ea00e56 100644 --- a/arch/mips/ralink/irq-gic.c +++ b/arch/mips/ralink/irq-gic.c @@ -10,6 +10,7 @@ #include #include #include +#include int get_c0_perfcount_int(void) {