[media] tlg2300: Remove usage of KERNEL_VERSION()
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 19 Apr 2012 19:35:27 +0000 (16:35 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 19 Apr 2012 19:47:07 +0000 (16:47 -0300)
commitd8a9c01484b258573587a52c3226bbdf6d11cda6
tree4aafb3f09fdf28e1cc48fcd3a8b62b3c9993b011
parent0bc9d39b8fa695738c3d5061808692361d2a66ab
[media] tlg2300: Remove usage of KERNEL_VERSION()

As reported by Marcos:

On 04-18-2012 01:30, Marcos Paulo de Souza wrote:
> The output of "make versioncheck" told us that:
>
> drivers/media/video/tlg2300/pd-video.c: 1669: need linux/version.h
>
> If we take a look at the code, we can see that this file uses the macro
> KERNEL_VERSION.

The V4L2 core now fills it automatically, so drivers shouldn't touch on
cap->version anymore.

Reported by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tlg2300/pd-video.c