summaryrefslogtreecommitdiff
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:57 +0100
commit43e01beda4b578e947aafb5b5ee19e5bb598e8ca (patch)
tree53c1de356c7a83594d8e50bc1052bc27c83cf2e9 /drivers/iio
parent1f100e80bb27d9e7128a451324dc402ce524e9ea (diff)
iio: light: gp2ap020a00f: Include linux/of.h headeriio-for-3.12d
'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/light/gp2ap020a00f.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/light/gp2ap020a00f.c b/drivers/iio/light/gp2ap020a00f.c
index a530e7712a8e..dc79835be308 100644
--- a/drivers/iio/light/gp2ap020a00f.c
+++ b/drivers/iio/light/gp2ap020a00f.c
@@ -42,6 +42,7 @@
#include <linux/irq_work.h>
#include <linux/module.h>
#include <linux/mutex.h>
+#include <linux/of.h>
#include <linux/regmap.h>
#include <linux/regulator/consumer.h>
#include <linux/slab.h>