irqchip/mmp: Declare init functions in common header file
authorBen Dooks <ben-linux@fluff.org>
Sun, 24 Jul 2022 22:21:52 +0000 (23:21 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 25 Jul 2022 08:42:24 +0000 (09:42 +0100)
commit9d9b010f12cc4e254bbba32d79c965b564a8957f
treeaf76ad04b57e9a6d5e967e39b3c6c228e9d7c037
parent71349cc85e5930dce78ed87084dee098eba24b59
irqchip/mmp: Declare init functions in common header file

The functions icu_init_irq and mmp2_init_icu are exported
from this code, so declare them in the header file to avoid
the following sparse warnings:

drivers/irqchip/irq-mmp.c:248:13: warning: symbol 'icu_init_irq' was not declared. Should it be static?
drivers/irqchip/irq-mmp.c:271:13: warning: symbol 'mmp2_init_icu' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
[maz: fixup commit message]
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220724222152.551850-1-ben-linux@fluff.org
arch/arm/mach-mmp/mmp2.h
arch/arm/mach-mmp/pxa168.h
arch/arm/mach-mmp/pxa910.h
include/linux/irqchip/mmp.h