]> git.ipfire.org Git - thirdparty/linux.git/commit
MIPS: lantiq: irq: fix misc missing-prototypes warnings
authorShiji Yang <yangshiji66@outlook.com>
Wed, 18 Jun 2025 14:53:17 +0000 (22:53 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 2 Jul 2025 11:37:38 +0000 (13:37 +0200)
commitd97394bf381eda85d04bec68b72dbc397744fcc3
tree7b25cdd2f7c4b5c38661f596e451bee9107262f7
parentc714186debb45fc88098b666d46cb29ff728e06d
MIPS: lantiq: irq: fix misc missing-prototypes warnings

Fix the following build warnings:

arch/mips/lantiq/irq.c:340:12: error: no previous prototype for 'icu_of_init' [-Werror=missing-prototypes]
  340 | int __init icu_of_init(struct device_node *node, struct device_node *parent)
      |            ^~~~~~~~~~~
arch/mips/lantiq/irq.c:418:5: error: no previous prototype for 'get_c0_perfcount_int' [-Werror=missing-prototypes]
  418 | int get_c0_perfcount_int(void)
      |     ^~~~~~~~~~~~~~~~~~~~
arch/mips/lantiq/irq.c:424:14: error: no previous prototype for 'get_c0_compare_int' [-Werror=missing-prototypes]
  424 | unsigned int get_c0_compare_int(void)
      |              ^~~~~~~~~~~~~~~~~~

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/lantiq/irq.c