summaryrefslogtreecommitdiff
path: root/drivers/media/i2c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-18 07:07:10 +0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-10-31 14:18:09 +0400
commit5cc6685aca9cfb01cb6f21569502d0145fb071f0 (patch)
tree4799036a9f3d0975b9a6c202b043de90e0d7eb28 /drivers/media/i2c
parent769980dea10c0b6edb1903119fe0a93ab1bf8194 (diff)
downloadlinux-5cc6685aca9cfb01cb6f21569502d0145fb071f0.tar.xz
[media] adv7343: 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> Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/i2c')
-rw-r--r--drivers/media/i2c/adv7343.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/i2c/adv7343.c b/drivers/media/i2c/adv7343.c
index aeb56c53e39f..d4e15a617c3b 100644
--- a/drivers/media/i2c/adv7343.c
+++ b/drivers/media/i2c/adv7343.c
@@ -25,6 +25,7 @@
#include <linux/module.h>
#include <linux/videodev2.h>
#include <linux/uaccess.h>
+#include <linux/of.h>
#include <media/adv7343.h>
#include <media/v4l2-async.h>