summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-18 16:04:00 +0400
committerJonathan Cameron <jic23@kernel.org>2013-10-18 23:05:56 +0400
commit1f100e80bb27d9e7128a451324dc402ce524e9ea (patch)
tree7af84e544084a9b6f37eda5dfa9a790abb34161c
parent62ba493ea49a49bcef5888ef9788b1448088b96a (diff)
downloadlinux-1f100e80bb27d9e7128a451324dc402ce524e9ea.tar.xz
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>
-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>