summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/radio/radio-sf16fmr2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/radio/radio-sf16fmr2.c b/drivers/media/radio/radio-sf16fmr2.c
index 0c7b5142057..4444dce864a 100644
--- a/drivers/media/radio/radio-sf16fmr2.c
+++ b/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