• Guennadi Liakhovetski's avatar
    [media] media: sh-vou: fix compilation breakage · b6ba418e
    Guennadi Liakhovetski authored
    A recent commit
    commit f135a8a2
    Author: Hans Verkuil <hans.verkuil@cisco.com>
        [media] sh_vou: remove V4L2_FL_LOCK_ALL_FOPS
    broke compilation of sh_vou.c:
    drivers/media/platform/sh_vou.c: In function 'sh_vou_mmap':
    drivers/media/platform/sh_vou.c:1227: error: 'vdev' undeclared (first use in this function)
    drivers/media/platform/sh_vou.c:1227: error: (Each undeclared identifier is reported only once
    drivers/media/platform/sh_vou.c:1227: error: for each function it appears in.)
    drivers/media/platform/sh_vou.c: In function 'sh_vou_poll':
    drivers/media/platform/sh_vou.c:1242: error: 'vdev' undeclared (first use in this function)
    make[2]: *** [drivers/media/platform/sh_vou.o] Error 1
    Add missing variable definitions.
    Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
    Acked-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
    b6ba418e
sh_vou.c 39.8 KB