Skip to content

Commit

Permalink
[media] davinci: vpbe: fix build error when CONFIG_VIDEO_ADV_DEBUG is…
Browse files Browse the repository at this point in the history
… 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>
  • Loading branch information
Prabhakar Lad authored and Mauro Carvalho Chehab committed Jul 31, 2012
1 parent 53aa3b1 commit 4927c3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/media/video/davinci/vpbe_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -1517,6 +1517,8 @@ static int vpbe_display_g_register(struct file *file, void *priv,
struct v4l2_dbg_register *reg)
{
struct v4l2_dbg_match *match = &reg->match;
struct vpbe_fh *fh = file->private_data;
struct vpbe_device *vpbe_dev = fh->disp_dev->vpbe_dev;

if (match->type >= 2) {
v4l2_subdev_call(vpbe_dev->venc,
Expand Down

0 comments on commit 4927c3f

Please sign in to comment.