diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-10-18 08:04:00 -0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-10-18 15:05:57 -0400 |
commit | 43e01beda4b578e947aafb5b5ee19e5bb598e8ca (patch) | |
tree | 53c1de356c7a83594d8e50bc1052bc27c83cf2e9 /drivers/iio/light | |
parent | 1f100e80bb27d9e7128a451324dc402ce524e9ea (diff) |
iio: light: gp2ap020a00f: 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/light')
-rw-r--r-- | drivers/iio/light/gp2ap020a00f.c | 1 |
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 @@ | |||
42 | #include <linux/irq_work.h> | 42 | #include <linux/irq_work.h> |
43 | #include <linux/module.h> | 43 | #include <linux/module.h> |
44 | #include <linux/mutex.h> | 44 | #include <linux/mutex.h> |
45 | #include <linux/of.h> | ||
45 | #include <linux/regmap.h> | 46 | #include <linux/regmap.h> |
46 | #include <linux/regulator/consumer.h> | 47 | #include <linux/regulator/consumer.h> |
47 | #include <linux/slab.h> | 48 | #include <linux/slab.h> |