vgic-v3: tame the undeclared struct warning
In file included from arch/arm64/kvm/hyp/vgic-v3-sr.c:19:0:
include/linux/irqchip/arm-gic-v3.h:390:14: warning: ‘struct device_node’
declared inside parameter list
struct irq_domain *domain);
^
include/linux/irqchip/arm-gic-v3.h:390:14: warning: its scope is only this
definition or declaration, which is probably not what you want
Above warning is due to gcc has no idea of 'struct device_node' before first
meet it in 'its_init(struct device_node *node, struct rdists *rdists ...)'
It is no harm here since this function just use it as an pointer. But to tame
the extra warning, introduce of.h for device_node defination before its_init.
Signed-off-by: Alex Shi <alex.shi@linaro.org>
1 file changed