| From fdfdc54bb926e1c5771a1ef3fade144d75793f28 Mon Sep 17 00:00:00 2001 |
| From: Sachin Kamat <sachin.kamat@linaro.org> |
| Date: Wed, 16 Oct 2013 15:35:02 +0530 |
| Subject: 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> |
| (cherry picked from commit bd0bf46844ad79c1360eebc73bf6f1e4c31b39fb) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| drivers/gpio/gpio-rcar.c | 1 + |
| 1 file changed, 1 insertion(+) |
| |
| diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c |
| index ce1c14b16bf3..11faf316c814 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> |
| -- |
| 1.8.5.rc3 |
| |