]> git.ipfire.org Git - thirdparty/openwrt.git/commit
mips: ralink: add missing include
authorMieczyslaw Nalewaj <namiltd@yahoo.com>
Sun, 18 May 2025 11:56:39 +0000 (13:56 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 11 Jun 2025 12:16:21 +0000 (14:16 +0200)
commit4f62facf107ed3e252f105d4c2c78182e213071a
tree53f285099e83b43daa8d51736cf141ff5a17fdfb
parent92fec1ff24c526895dc954b69bef05dee5ff812a
mips: ralink: add missing include

Missing headers causes an error on kernel 6.12:
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)
      |              ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/18654
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/ramips/patches-6.12/931-mips-ralink-add-missing-include.patch [new file with mode: 0644]