]> www.infradead.org Git - users/jedix/linux-maple.git/commit
irqchip/ath79-misc: Fix missing prototypes warnings
authorShiji Yang <yangshiji66@outlook.com>
Wed, 18 Jun 2025 15:07:43 +0000 (23:07 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 20 Jun 2025 19:38:52 +0000 (21:38 +0200)
commit3085ef9d9e7ab5ae4cddbe809e2e3b8dc11cdc75
tree37e05cda956efb9f03c8cd22641c30961214df8c
parent8a2277a3c9e4cc5398f80821afe7ecbe9bdf2819
irqchip/ath79-misc: Fix missing prototypes warnings

ath79_misc_irq_init() was defined but unused since commit 51fa4f8912c0
("MIPS: ath79: drop legacy IRQ code"), so it's time to drop it.

The build also warns about a missing prototype of get_c0_perfcount_int().

Remove the stale leftover function and add the missing include.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/OSBPR01MB167032D2017645200787AAEBBC72A@OSBPR01MB1670.jpnprd01.prod.outlook.com
drivers/irqchip/irq-ath79-misc.c