irqchip/gic-v2m: Fix missing include of <linux/irqchip/arm-gic.h>
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 8 Jun 2016 17:53:34 +0000 (18:53 +0100)
committerJason Cooper <jason@lakedaemon.net>
Mon, 13 Jun 2016 00:57:09 +0000 (00:57 +0000)
Fix the missing declaration of gicv2m_init() by including the
file <linux/irqchip/arm-gic.h> which defines it. Fixes the
warning:

drivers/irqchip/irq-gic-v2m.c:517:12: warning: symbol 'gicv2m_init' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Link: https://lkml.kernel.org/r/1465408414-13698-1-git-send-email-ben.dooks@codethink.co.uk
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-gic-v2m.c

index ad0d2960b6644d0f71df271e81802d647e7905b7..35eb7ac5d21f892e68cfdaf84c73a4b2d077cfbe 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/of_pci.h>
 #include <linux/slab.h>
 #include <linux/spinlock.h>
+#include <linux/irqchip/arm-gic.h>
 
 /*
 * MSI_TYPER:
This page took 0.046952 seconds and 5 git commands to generate.