Message ID | 1382065635-27855-2-git-send-email-sachin.kamat@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hi Sachin, Thank you for the patch, and sorry for the late reply. On Friday 18 October 2013 08:37:11 Sachin Kamat wrote: > '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> > Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> I've taken the patch in my tree and will push it upstream. > --- > drivers/media/i2c/mt9p031.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/media/i2c/mt9p031.c b/drivers/media/i2c/mt9p031.c > index 4734836..1c2303d 100644 > --- a/drivers/media/i2c/mt9p031.c > +++ b/drivers/media/i2c/mt9p031.c > @@ -19,6 +19,7 @@ > #include <linux/i2c.h> > #include <linux/log2.h> > #include <linux/module.h> > +#include <linux/of.h> > #include <linux/of_gpio.h> > #include <linux/pm.h> > #include <linux/regulator/consumer.h>
On 6 November 2013 06:58, Laurent Pinchart <laurent.pinchart@ideasonboard.com> wrote: > Hi Sachin, > > Thank you for the patch, and sorry for the late reply. > > On Friday 18 October 2013 08:37:11 Sachin Kamat wrote: >> '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> >> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > I've taken the patch in my tree and will push it upstream. Thanks Laurent.
diff --git a/drivers/media/i2c/mt9p031.c b/drivers/media/i2c/mt9p031.c index 4734836..1c2303d 100644 --- a/drivers/media/i2c/mt9p031.c +++ b/drivers/media/i2c/mt9p031.c @@ -19,6 +19,7 @@ #include <linux/i2c.h> #include <linux/log2.h> #include <linux/module.h> +#include <linux/of.h> #include <linux/of_gpio.h> #include <linux/pm.h> #include <linux/regulator/consumer.h>
'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> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com> --- drivers/media/i2c/mt9p031.c | 1 + 1 file changed, 1 insertion(+)