aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-18 08:04:00 -0400
committerJonathan Cameron <jic23@kernel.org>2013-10-18 15:05:56 -0400
commit1f100e80bb27d9e7128a451324dc402ce524e9ea (patch)
tree7af84e544084a9b6f37eda5dfa9a790abb34161c /drivers/iio
parent62ba493ea49a49bcef5888ef9788b1448088b96a (diff)
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 @@
9#include <linux/err.h> 9#include <linux/err.h>
10#include <linux/i2c.h> 10#include <linux/i2c.h>
11#include <linux/module.h> 11#include <linux/module.h>
12#include <linux/of.h>
12 13
13#include <linux/iio/iio.h> 14#include <linux/iio/iio.h>
14#include <linux/regulator/consumer.h> 15#include <linux/regulator/consumer.h>