]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
iio: light: gp2ap020a00f: Include linux/of.h header
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 18 Oct 2013 12:04:00 +0000 (13:04 +0100)
committerJonathan 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

index a530e7712a8e8ed0384c4e77c62b41d24b282b6b..dc79835be30836e330787eb031ce6d94f5ea291d 100644 (file)
@@ -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>