From: Sachin Kamat Date: Fri, 18 Oct 2013 12:04:00 +0000 (+0100) Subject: iio: light: gp2ap020a00f: Include linux/of.h header X-Git-Tag: v3.13-rc1~170^2~196^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=43e01beda4b578e947aafb5b5ee19e5bb598e8ca;p=thirdparty%2Fkernel%2Flinux.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 a530e7712a8e8..dc79835be3083 100644 --- a/drivers/iio/light/gp2ap020a00f.c +++ b/drivers/iio/light/gp2ap020a00f.c @@ -42,6 +42,7 @@ #include #include #include +#include #include #include #include