diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-10-18 03:07:11 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-12-03 16:31:14 (GMT) |
commit | 646959059c56374896010fb245bec5338cbac44d (patch) | |
tree | 67c3ae0a704d1e4b1e5c56f644671e4e3ce20f8c /drivers/media/i2c/mt9p031.c | |
parent | 68fd02d15bed4a680c23f0aaeee9bc871bf1630c (diff) | |
download | linux-646959059c56374896010fb245bec5338cbac44d.tar.xz |
[media] mt9p031: 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 <sachin.kamat@linaro.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/i2c/mt9p031.c')
-rw-r--r-- | drivers/media/i2c/mt9p031.c | 1 |
1 files changed, 1 insertions, 0 deletions
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> |