aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrabhakar Lad <prabhakar.csengg@gmail.com>2012-07-20 08:56:48 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-07-30 20:02:28 -0400
commit4927c3f1c48fff3473b684d2dac5b4e432861b4e (patch)
tree07db8ecba54b59292181fc9e74eabac22901fbc0
parent53aa3b19c584faf0ea6e4cc910a9ff4ac31e2390 (diff)
[media] davinci: vpbe: fix build error when CONFIG_VIDEO_ADV_DEBUG is enabled
Fix build error when CONFIG_VIDEO_ADV_DEBUG is enabled, declare the vpbe_dev variable. Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com> Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/davinci/vpbe_display.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/davinci/vpbe_display.c b/drivers/media/video/davinci/vpbe_display.c
index f78ccc00bc4..6fe7034bea7 100644
--- a/drivers/media/video/davinci/vpbe_display.c
+++ b/drivers/media/video/davinci/vpbe_display.c
@@ -1517,6 +1517,8 @@ static int vpbe_display_g_register(struct file *file, void *priv,
1517 struct v4l2_dbg_register *reg) 1517 struct v4l2_dbg_register *reg)
1518{ 1518{
1519 struct v4l2_dbg_match *match = &reg->match; 1519 struct v4l2_dbg_match *match = &reg->match;
1520 struct vpbe_fh *fh = file->private_data;
1521 struct vpbe_device *vpbe_dev = fh->disp_dev->vpbe_dev;
1520 1522
1521 if (match->type >= 2) { 1523 if (match->type >= 2) {
1522 v4l2_subdev_call(vpbe_dev->venc, 1524 v4l2_subdev_call(vpbe_dev->venc,