summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-18 13:04:00 +0100
committerJonathan Cameron <jic23@kernel.org>2013-10-18 20:05:56 +0100
commit1f100e80bb27d9e7128a451324dc402ce524e9ea (patch)
tree7af84e544084a9b6f37eda5dfa9a790abb34161c /drivers/iio
parent62ba493ea49a49bcef5888ef9788b1448088b96a (diff)
downloadtalos-obmc-linux-1f100e80bb27d9e7128a451324dc402ce524e9ea.tar.gz
talos-obmc-linux-1f100e80bb27d9e7128a451324dc402ce524e9ea.zip
iio: adc: ti-adc081c: Include linux/of.h header
'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: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/adc/ti-adc081c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/adc/ti-adc081c.c b/drivers/iio/adc/ti-adc081c.c
index ee5f72bffe5a..b3a82b4d1a75 100644
--- a/drivers/iio/adc/ti-adc081c.c
+++ b/drivers/iio/adc/ti-adc081c.c
@@ -9,6 +9,7 @@
#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/module.h>
+#include <linux/of.h>
#include <linux/iio/iio.h>
#include <linux/regulator/consumer.h>
OpenPOWER on IntegriCloud