Browse Source

V4L/DVB (4371): Included missing linux/version.h

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Mauro Carvalho Chehab 19 years ago
parent
commit
1ddf5bc547
1 changed files with 3 additions and 2 deletions
  1. 3 2
      drivers/media/radio/radio-sf16fmr2.c

+ 3 - 2
drivers/media/radio/radio-sf16fmr2.c

@@ -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