From f13e645e15f1a4a33f0709844dac1a962b335b16 Mon Sep 17 00:00:00 2001 From: Mieczyslaw Nalewaj Date: Wed, 18 Jun 2025 23:40:25 +0800 Subject: [PATCH] MIPS: ralink: add missing header include Add the missing header "asm/time.h" which defines the function prototypes of get_c0_perfcount_int() and get_c0_compare_int(). This patch fixes the following build warnings: arch/mips/ralink/irq.c:86:5: error: no previous prototype for 'get_c0_perfcount_int' [-Werror=missing-prototypes] 86 | int get_c0_perfcount_int(void) | ^~~~~~~~~~~~~~~~~~~~ arch/mips/ralink/irq.c:92:14: error: no previous prototype for 'get_c0_compare_int' [-Werror=missing-prototypes] 92 | unsigned int get_c0_compare_int(void) | ^~~~~~~~~~~~~~~~~~ Signed-off-by: Mieczyslaw Nalewaj Signed-off-by: Shiji Yang Signed-off-by: Thomas Bogendoerfer --- arch/mips/ralink/irq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/ralink/irq.c b/arch/mips/ralink/irq.c index af5bbbea949b3..955b36e893587 100644 --- a/arch/mips/ralink/irq.c +++ b/arch/mips/ralink/irq.c @@ -15,6 +15,7 @@ #include #include +#include #include "common.h" -- 2.47.3