From: Mauro Carvalho Chehab Date: Fri, 24 Jun 2011 16:14:14 +0000 (-0300) Subject: [media] v4l2-ioctl: Add a default value for kernel version X-Git-Tag: v3.1-rc1~116^2~258 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae6db5154671759426046c2cbc2e20a82ff0feed;p=pandora-kernel.git [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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed