diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-06-24 13:14:14 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 17:53:12 -0300 |
commit | ae6db5154671759426046c2cbc2e20a82ff0feed (patch) | |
tree | ae18ddcd887dd3b978de912562946e94e212695a /drivers/media/video/vino.c | |
parent | b6dc1bab052891f7cbe158f7146a0f9d55806471 (diff) |
[media] v4l2-ioctl: Add a default value for kernel version
Most drivers don't increase kernel versions as newer features are added or
bug fixes are solved. So, vidioc_querycap returned value for cap->version is
meaningless. Instead of keeping this situation forever, let's add a default
value matching the current Linux version.
Drivers that want to keep their own version control can still do it, as they
can override the default value for cap->version.
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/vino.c')
0 files changed, 0 insertions, 0 deletions