diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-10-11 13:51:53 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-16 20:05:47 +0200 |
commit | ecc77773d3b5344394d0a126ab06fe51dac419b8 (patch) | |
tree | df64767c7dce95a88d4424bb392ba9e91a7cf31c /drivers/spi | |
parent | Linux 3.12-rc5 (diff) | |
download | linux-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.c | 1 |
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> |