summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-16 15:35:01 +0530
committerLinus Walleij <linus.walleij@linaro.org>2013-10-16 13:09:10 +0200
commit831cbd7a807b3f62f58fe98e0283af510b567d9b (patch)
tree44cdcab362547cda52c9df3a0c2fbd8c5adebf9b /drivers/gpio
parent2f56e0a57ff1bbf973bec86e527f222de8c4b4f9 (diff)
downloadblackbird-op-linux-831cbd7a807b3f62f58fe98e0283af510b567d9b.tar.gz
blackbird-op-linux-831cbd7a807b3f62f58fe98e0283af510b567d9b.zip
gpio: lpc32xx: 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-lpc32xx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-lpc32xx.c b/drivers/gpio/gpio-lpc32xx.c
index 90a80eb688a9..2d5555decf0c 100644
--- a/drivers/gpio/gpio-lpc32xx.c
+++ b/drivers/gpio/gpio-lpc32xx.c
@@ -21,6 +21,7 @@
#include <linux/io.h>
#include <linux/errno.h>
#include <linux/gpio.h>
+#include <linux/of.h>
#include <linux/of_gpio.h>
#include <linux/platform_device.h>
#include <linux/module.h>
OpenPOWER on IntegriCloud