From: Mieczyslaw Nalewaj Date: Wed, 18 Jun 2025 15:40:25 +0000 (+0800) Subject: MIPS: ralink: add missing header include X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=f13e645e15f1a4a33f0709844dac1a962b335b16;p=users%2Fjedix%2Flinux-maple.git 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 --- 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"