gpio: rcar: Include linux/of.h header
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 16 Oct 2013 10:05:02 +0000 (15:35 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 16 Oct 2013 11:10:00 +0000 (13:10 +0200)
'of_match_ptr' is defined in linux/of.h. Include it explicitly to
avoid build breakage in the future.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-rcar.c

index be3e9c27c4919300bdaa14f44aae89c6354f2878..d3f15ae93bd3bef20a5aa306fa02e1a7fe12b838 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/irq.h>
 #include <linux/irqdomain.h>
 #include <linux/module.h>
+#include <linux/of.h>
 #include <linux/pinctrl/consumer.h>
 #include <linux/platform_data/gpio-rcar.h>
 #include <linux/platform_device.h>