[PATCH v1.1 10/16] irqchip/gic: Add missing forward declaration for struct device

Sakari Ailus
2017-01-31T08:23:50Z

A pointer to struct device is used in the header as a function argument
but there's no declaration for it. Add one.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
---
This patch goes before "[PATCH 10/15] of: No need to include
linux/property.h, linux/fwnode.h is sufficient".

include/linux/irqchip/arm-gic.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/linux/irqchip/arm-gic.h b/include/linux/irqchip/arm-gic.h
index eafc965..b16afa1 100644
--- a/include/linux/irqchip/arm-gic.h
+++ b/include/linux/irqchip/arm-gic.h
@@ -100,6 +100,7 @@

#include <linux/irqdomain.h>

+struct device;
struct device_node;
struct gic_chip_data;

--
2.7.4