aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-mmp/pxa910.h
diff options
context:
space:
mode:
authorGravatar Ben Dooks <ben-linux@fluff.org> 2022-07-24 23:21:52 +0100
committerGravatar Marc Zyngier <maz@kernel.org> 2022-07-25 09:42:24 +0100
commit9d9b010f12cc4e254bbba32d79c965b564a8957f (patch)
treeaf76ad04b57e9a6d5e967e39b3c6c228e9d7c037 /arch/arm/mach-mmp/pxa910.h
parentirqchip/mips-gic: Check the return value of ioremap() in gic_of_init() (diff)
downloadlinux-9d9b010f12cc4e254bbba32d79c965b564a8957f.tar.gz
linux-9d9b010f12cc4e254bbba32d79c965b564a8957f.tar.bz2
linux-9d9b010f12cc4e254bbba32d79c965b564a8957f.zip
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
Diffstat (limited to 'arch/arm/mach-mmp/pxa910.h')
-rw-r--r--arch/arm/mach-mmp/pxa910.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mmp/pxa910.h b/arch/arm/mach-mmp/pxa910.h
index 6ace5a8aa15b..7d229214065a 100644
--- a/arch/arm/mach-mmp/pxa910.h
+++ b/arch/arm/mach-mmp/pxa910.h
@@ -3,13 +3,13 @@
#define __ASM_MACH_PXA910_H
extern void pxa910_timer_init(void);
-extern void __init icu_init_irq(void);
extern void __init pxa910_init_irq(void);
#include <linux/i2c.h>
#include <linux/platform_data/i2c-pxa.h>
#include <linux/platform_data/mtd-nand-pxa3xx.h>
#include <video/mmp_disp.h>
+#include <linux/irqchip/mmp.h>
#include "devices.h"