[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>
This commit is contained in:
Родитель
53aa3b19c5
Коммит
4927c3f1c4
|
@ -1517,6 +1517,8 @@ static int vpbe_display_g_register(struct file *file, void *priv,
|
||||||
struct v4l2_dbg_register *reg)
|
struct v4l2_dbg_register *reg)
|
||||||
{
|
{
|
||||||
struct v4l2_dbg_match *match = ®->match;
|
struct v4l2_dbg_match *match = ®->match;
|
||||||
|
struct vpbe_fh *fh = file->private_data;
|
||||||
|
struct vpbe_device *vpbe_dev = fh->disp_dev->vpbe_dev;
|
||||||
|
|
||||||
if (match->type >= 2) {
|
if (match->type >= 2) {
|
||||||
v4l2_subdev_call(vpbe_dev->venc,
|
v4l2_subdev_call(vpbe_dev->venc,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче