summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/mach-ath79
diff options
context:
space:
mode:
authorAlban Bedel <albeu@free.fr>2016-01-23 13:57:46 +0100
committerJason Cooper <jason@lakedaemon.net>2016-02-17 13:44:31 +0000
commit07ba4b061a79896315a7be4b123de12df6a9d2bd (patch)
tree5c8d3b6e7dc02196ec8da111c79016e7f476170a /arch/mips/include/asm/mach-ath79
parent92e963f50fc74041b5e9e744c330dca48e04f08d (diff)
irqchip/ath79-misc: Move the MISC driver from arch/mips/ath79/
The driver stays the same but the initialization changes a bit. For OF boards we now get the memory map from the OF node and use a linear mapping instead of the legacy mapping. For legacy boards we still use a legacy mapping and just pass down all the parameters from the board init code. Signed-off-by: Alban Bedel <albeu@free.fr> Acked-by: Marc Zyngier <marc.zyngier@arm.com> Link: https://lkml.kernel.org/r/1453553867-27003-1-git-send-email-albeu@free.fr Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/mips/include/asm/mach-ath79')
-rw-r--r--arch/mips/include/asm/mach-ath79/ath79.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-ath79/ath79.h b/arch/mips/include/asm/mach-ath79/ath79.h
index 2b3487213d1e..22a2f56ad5e9 100644
--- a/arch/mips/include/asm/mach-ath79/ath79.h
+++ b/arch/mips/include/asm/mach-ath79/ath79.h
@@ -144,4 +144,7 @@ static inline u32 ath79_reset_rr(unsigned reg)
void ath79_device_reset_set(u32 mask);
void ath79_device_reset_clear(u32 mask);
+void ath79_misc_irq_init(void __iomem *regs, int irq,
+ int irq_base, bool is_ar71xx);
+
#endif /* __ASM_MACH_ATH79_H */