spi: gpio: Include linux/of.h header
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 11 Oct 2013 11:51:53 +0000 (17:21 +0530)
committerMark Brown <broonie@linaro.org>
Wed, 16 Oct 2013 18:05:47 +0000 (19:05 +0100)
'of_match_ptr' is defined in linux/of.h. Include it explicitly.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-gpio.c

index 68b69fec13a911cc2ec859ab3b40e5f0ff3f27a6..22ef6e1f9e9d1f1948089ab634b5e849eae6356d 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/init.h>
 #include <linux/platform_device.h>
 #include <linux/gpio.h>
+#include <linux/of.h>
 #include <linux/of_device.h>
 #include <linux/of_gpio.h>