gpio: lpc32xx: Include linux/of.h header
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 16 Oct 2013 10:05:01 +0000 (15:35 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 16 Oct 2013 11:09:10 +0000 (13:09 +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-lpc32xx.c

index 90a80eb688a920ca594c144264d15b158b113af0..2d5555decf0cfa6ddfff1c5afcb9c6b80d314ced 100644 (file)
@@ -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>