summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-11 13:51:53 +0200
committerMark Brown <broonie@linaro.org>2013-10-16 20:05:47 +0200
commitecc77773d3b5344394d0a126ab06fe51dac419b8 (patch)
treedf64767c7dce95a88d4424bb392ba9e91a7cf31c /drivers/spi
parentLinux 3.12-rc5 (diff)
downloadlinux-ecc77773d3b5344394d0a126ab06fe51dac419b8.tar.xz
linux-ecc77773d3b5344394d0a126ab06fe51dac419b8.zip
spi: gpio: Include linux/of.h header
'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>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-gpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi-gpio.c b/drivers/spi/spi-gpio.c
index 68b69fec13a9..22ef6e1f9e9d 100644
--- a/drivers/spi/spi-gpio.c
+++ b/drivers/spi/spi-gpio.c
@@ -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>