summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2017-11-13 16:21:33 +0000
committerMarc Zyngier <marc.zyngier@arm.com>2017-11-13 16:21:33 +0000
commit47f9d0bf526058b3fdc077698fcb19748d5700e4 (patch)
treeeb7c7f0b314f2abe90e6c928745901606d0a3758
parent71192a688714079f75ba6631155581f028b0351f (diff)
downloadlinux-47f9d0bf526058b3fdc077698fcb19748d5700e4.tar.gz
linux-47f9d0bf526058b3fdc077698fcb19748d5700e4.tar.bz2
linux-47f9d0bf526058b3fdc077698fcb19748d5700e4.zip
irqchip/gic-v4: Add forward definition of struct irq_domain_ops
In some randconfig scenarios, including arm-gic-v4.h results in a spurious wawrning about the $SUBJECT structure not being defined. Adding a forward definition keeps it quiet. Reported-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
-rw-r--r--include/linux/irqchip/arm-gic-v4.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/irqchip/arm-gic-v4.h b/include/linux/irqchip/arm-gic-v4.h
index 447da8ca2156..fa683ea5c769 100644
--- a/include/linux/irqchip/arm-gic-v4.h
+++ b/include/linux/irqchip/arm-gic-v4.h
@@ -109,6 +109,7 @@ int its_get_vlpi(int irq, struct its_vlpi_map *map);
int its_unmap_vlpi(int irq);
int its_prop_update_vlpi(int irq, u8 config, bool inv);
+struct irq_domain_ops;
int its_init_v4(struct irq_domain *domain, const struct irq_domain_ops *ops);
#endif