]> Pileus Git - ~andy/linux/commitdiff
V4L/DVB (4371): Included missing linux/version.h
authorMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 8 Aug 2006 12:10:06 +0000 (09:10 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 26 Sep 2006 14:53:19 +0000 (11:53 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/radio/radio-sf16fmr2.c

index 0c7b514205738a51835289aeed6e91de0fd4b07f..4444dce864a932ddeaad7ec8790ca42354d5c9bd 100644 (file)
@@ -24,6 +24,9 @@
 #include <media/v4l2-common.h>
 #include <linux/mutex.h>
 
+static struct mutex lock;
+
+#include <linux/version.h>      /* for KERNEL_VERSION MACRO     */
 #define RADIO_VERSION KERNEL_VERSION(0,0,2)
 
 static struct v4l2_queryctrl radio_qctrl[] = {
@@ -45,8 +48,6 @@ static struct v4l2_queryctrl radio_qctrl[] = {
        }
 };
 
-static struct mutex lock;
-
 #undef DEBUG
 //#define DEBUG 1