Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

irqchip/gic-v2m: Fix missing include of <linux/irqchip/arm-gic.h>

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>

authored by

Ben Dooks and committed by
Jason Cooper
7c034f16 2ae9add9

+1
+1
drivers/irqchip/irq-gic-v2m.c
··· 24 24 #include <linux/of_pci.h> 25 25 #include <linux/slab.h> 26 26 #include <linux/spinlock.h> 27 + #include <linux/irqchip/arm-gic.h> 27 28 28 29 /* 29 30 * MSI_TYPER: