summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-rcar.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-16 12:05:02 +0200
committerLinus Walleij <linus.walleij@linaro.org>2013-10-16 13:10:00 +0200
commitbd0bf46844ad79c1360eebc73bf6f1e4c31b39fb (patch)
treeb991545a127354ec23dd7217363447b38f98a7c4 /drivers/gpio/gpio-rcar.c
parentgpio: lpc32xx: Include linux/of.h header (diff)
downloadlinux-bd0bf46844ad79c1360eebc73bf6f1e4c31b39fb.tar.xz
linux-bd0bf46844ad79c1360eebc73bf6f1e4c31b39fb.zip
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/gpio-rcar.c')
-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>