OSDN Git Service

irqchip/gic-v4: Add forward definition of struct irq_domain_ops
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 13 Nov 2017 16:21:33 +0000 (16:21 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 13 Nov 2017 16:21:33 +0000 (16:21 +0000)
commit47f9d0bf526058b3fdc077698fcb19748d5700e4
treeeb7c7f0b314f2abe90e6c928745901606d0a3758
parent71192a688714079f75ba6631155581f028b0351f
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>
include/linux/irqchip/arm-gic-v4.h