summaryrefslogtreecommitdiff
path: root/include/linux/irqchip/mmp.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-05-16 23:05:05 +0300
committerMarc Zyngier <maz@kernel.org>2023-06-17 09:21:02 +0300
commitf1771b85e3086c9506c3de81e993330bca568ba5 (patch)
treeb998daa3292d7ed2bacf13766a40bb205a37b2db /include/linux/irqchip/mmp.h
parent97bb0f8e847c0ea6bf926c4e3b7633dd6acfabf2 (diff)
downloadlinux-f1771b85e3086c9506c3de81e993330bca568ba5.tar.xz
irqchip/mmp: Remove non-DT codepath
Building with "W=1" warns about missing declarations for two functions in the mmp irqchip driver: drivers/irqchip/irq-mmp.c:248:13: error: no previous prototype for 'icu_init_irq' drivers/irqchip/irq-mmp.c:271:13: error: no previous prototype for 'mmp2_init_icu' The declarations are present in an unused header, but since there is no caller, it's best to just remove the functions and the header completely, making the driver DT-only to match the state of the platform. Fixes: 77acc85ce797 ("ARM: mmp: remove device definitions") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20230516200516.554663-2-arnd@kernel.org
Diffstat (limited to 'include/linux/irqchip/mmp.h')
-rw-r--r--include/linux/irqchip/mmp.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/irqchip/mmp.h b/include/linux/irqchip/mmp.h
deleted file mode 100644
index aa1813749a4f..000000000000
--- a/include/linux/irqchip/mmp.h
+++ /dev/null
@@ -1,10 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef __IRQCHIP_MMP_H
-#define __IRQCHIP_MMP_H
-
-extern struct irq_chip icu_irq_chip;
-
-extern void icu_init_irq(void);
-extern void mmp2_init_icu(void);
-
-#endif /* __IRQCHIP_MMP_H */