]> git.ipfire.org Git - thirdparty/linux.git/commit
MIPS: ralink: add missing header include
authorMieczyslaw Nalewaj <namiltd@yahoo.com>
Wed, 18 Jun 2025 15:40:25 +0000 (23:40 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 2 Jul 2025 11:23:01 +0000 (13:23 +0200)
commitf13e645e15f1a4a33f0709844dac1a962b335b16
tree23eed55f65a546616b5e05e5cb183461b1279cfc
parente4442636a61ffffc10b21208de6cbf1132ddd769
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 <namiltd@yahoo.com>
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/ralink/irq.c