summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-gpio.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-11 15:51:53 +0400
committerMark Brown <broonie@linaro.org>2013-10-16 22:05:47 +0400
commitecc77773d3b5344394d0a126ab06fe51dac419b8 (patch)
treedf64767c7dce95a88d4424bb392ba9e91a7cf31c /drivers/spi/spi-gpio.c
parent61e6cfa80de5760bbe406f4e815b7739205754d2 (diff)
downloadlinux-ecc77773d3b5344394d0a126ab06fe51dac419b8.tar.xz
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/spi-gpio.c')
-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>