[media] v4l2-mc.h: fix yet more compiler errors
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 4 Mar 2016 08:46:58 +0000 (05:46 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 4 Mar 2016 10:56:43 +0000 (07:56 -0300)
commit1e89f58499f3351a3b3c61dae8213fe3cd24a476
treef367358a12cbe13a6603b1f32a88e6c6993bd2fc
parent1913722808e79ded46b3bd9ab5de5657faecc8d9
[media] v4l2-mc.h: fix yet more compiler errors

The newly added functions have an extra semicolon, which
prevents compilation, and they need to be marked inline:

In file included from ../include/media/tuner.h:23:0,
                 from ../drivers/media/tuners/tuner-simple.c:10:
../include/media/v4l2-mc.h:233:1: error: expected identifier or '(' before '{' token

Remove spurious return, remove copy-and-pasted semi-colons, add static
inline.

Fixes: a77bf7048add ("v4l2-mc.h: Add stubs for the V4L2 PM/pipeline routines")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
include/media/v4l2-mc.h