summaryrefslogtreecommitdiffstats
path: root/drivers/media/radio/radio-sf16fmr2.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-08-08 14:10:06 +0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-09-26 16:53:19 +0200
commit1ddf5bc5472f4a45b00bee33fc8c96d4616f8561 (patch)
treec5606107caff43dec6f1e8178ac62be71a874af5 /drivers/media/radio/radio-sf16fmr2.c
parentV4L/DVB (4370): Fix some typos on ioctl handling function (diff)
downloadlinux-1ddf5bc5472f4a45b00bee33fc8c96d4616f8561.tar.xz
linux-1ddf5bc5472f4a45b00bee33fc8c96d4616f8561.zip
V4L/DVB (4371): Included missing linux/version.h
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/radio/radio-sf16fmr2.c')
-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 0c7b51420573..4444dce864a9 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