projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f100e8
)
iio: light: gp2ap020a00f: Include linux/of.h header
author
Sachin Kamat
<sachin.kamat@linaro.org>
Fri, 18 Oct 2013 12:04:00 +0000
(13:04 +0100)
committer
Jonathan Cameron
<jic23@kernel.org>
Fri, 18 Oct 2013 19:05:57 +0000
(20:05 +0100)
'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>
drivers/iio/light/gp2ap020a00f.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/light/gp2ap020a00f.c
b/drivers/iio/light/gp2ap020a00f.c
index a530e7712a8e8ed0384c4e77c62b41d24b282b6b..dc79835be30836e330787eb031ce6d94f5ea291d 100644
(file)
--- 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>