From: Sachin Kamat Date: Fri, 18 Oct 2013 12:04:00 +0000 (+0100) Subject: iio: light: gp2ap020a00f: Include linux/of.h header X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=43e01beda4b578e947aafb5b5ee19e5bb598e8ca;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Jonathan Cameron --- 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 #include #include +#include #include #include #include