summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx231xx/cx231xx-video.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-03-13 07:41:58 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-04-06 21:44:03 -0300
commit818fdf341369110ff91296843797a9431a3d9b31 (patch)
treeb8f78f3af6e8cb83d8310775f34620f081436d37 /drivers/media/video/cx231xx/cx231xx-video.c
parentcde4362f0244a70bab73e37e24f167186bb9a8be (diff)
downloadlinux-stable-818fdf341369110ff91296843797a9431a3d9b31.tar.gz
linux-stable-818fdf341369110ff91296843797a9431a3d9b31.tar.bz2
linux-stable-818fdf341369110ff91296843797a9431a3d9b31.zip
V4L/DVB (10957a): cx231xx: Fix compilation breakage
Only cx231xx-video needs linux/version.h, due to KERNEL_VERSION macro, that is used by V4L2 API. This patch moves the KERNEL_VERSION to its proper place and starts with 0,0,1. There are still much more to be fixed on later patches Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx231xx/cx231xx-video.c')
-rw-r--r--drivers/media/video/cx231xx/cx231xx-video.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/cx231xx/cx231xx-video.c b/drivers/media/video/cx231xx/cx231xx-video.c
index 89cf57c5056a..47e2da8ae19a 100644
--- a/drivers/media/video/cx231xx/cx231xx-video.c
+++ b/drivers/media/video/cx231xx/cx231xx-video.c
@@ -44,6 +44,8 @@
#include "cx231xx.h"
#include "cx231xx-vbi.h"
+#define CX231XX_VERSION_CODE KERNEL_VERSION(0, 0, 1)
+
#define DRIVER_AUTHOR "Srinivasa Deevi <srinivasa.deevi@conexant.com>"
#define DRIVER_DESC "Conexant cx231xx based USB video device driver"