V4L/DVB: v4l2-common: Move v4l2_find_nearest_format from videodev2.h to v4l2-common.h
authorHans Verkuil <hverkuil@xs4all.nl>
Thu, 30 Sep 2010 12:29:37 +0000 (09:29 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:06:19 +0000 (01:06 -0200)
commit3fd8e647eaa76a1eb5bdd0fcecf49364a089b71d
tree262fec3628c13f004a49477fc19cc1ff20c12521
parente3cfd447d01cf723ccda0ad6bfa2e85b73d3d747
V4L/DVB: v4l2-common: Move v4l2_find_nearest_format from videodev2.h to v4l2-common.h

This function is an internal API and belongs in v4l2-common.h, not
videodev.h. The return pointer and probe argument should be const as well.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-common.c
include/linux/videodev2.h
include/media/v4l2-common.h