summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-16 15:35:02 +0530
committerLinus Walleij <linus.walleij@linaro.org>2013-10-16 13:10:00 +0200
commitbd0bf46844ad79c1360eebc73bf6f1e4c31b39fb (patch)
treeb991545a127354ec23dd7217363447b38f98a7c4 /drivers/gpio
parent831cbd7a807b3f62f58fe98e0283af510b567d9b (diff)
downloadlinux-bd0bf46844ad79c1360eebc73bf6f1e4c31b39fb.tar.bz2
gpio: rcar: Include linux/of.h header
'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>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-rcar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c
index be3e9c27c491..d3f15ae93bd3 100644
--- a/drivers/gpio/gpio-rcar.c
+++ b/drivers/gpio/gpio-rcar.c
@@ -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>