Explorar o código

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

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Mauro Carvalho Chehab %!s(int64=19) %!d(string=hai) anos
pai
achega
1ddf5bc547
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  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 <media/v4l2-common.h>
 #include <linux/mutex.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)
 #define RADIO_VERSION KERNEL_VERSION(0,0,2)
 
 
 static struct v4l2_queryctrl radio_qctrl[] = {
 static struct v4l2_queryctrl radio_qctrl[] = {
@@ -45,8 +48,6 @@ static struct v4l2_queryctrl radio_qctrl[] = {
 	}
 	}
 };
 };
 
 
-static struct mutex lock;
-
 #undef DEBUG
 #undef DEBUG
 //#define DEBUG 1
 //#define DEBUG 1