]> err.no Git - linux-2.6/blobdiff - drivers/media/radio/radio-rtrack2.c
V4L/DVB (8493): mt20xx: test below 0 on unsigned lo1a and lo2a
[linux-2.6] / drivers / media / radio / radio-rtrack2.c
index c3fb270f211b2525d57f9cf831d9500069bc58a5..e065cb16dc5a3d44b7b574dd5dc2a269821c934e 100644 (file)
@@ -295,12 +295,7 @@ static const struct file_operations rtrack2_fops = {
        .llseek         = no_llseek,
 };
 
-static struct video_device rtrack2_radio=
-{
-       .owner          = THIS_MODULE,
-       .name           = "RadioTrack II radio",
-       .type           = VID_TYPE_TUNER,
-       .fops           = &rtrack2_fops,
+static const struct v4l2_ioctl_ops rtrack2_ioctl_ops = {
        .vidioc_querycap    = vidioc_querycap,
        .vidioc_g_tuner     = vidioc_g_tuner,
        .vidioc_s_tuner     = vidioc_s_tuner,
@@ -315,6 +310,13 @@ static struct video_device rtrack2_radio=
        .vidioc_s_input     = vidioc_s_input,
 };
 
+static struct video_device rtrack2_radio = {
+       .name           = "RadioTrack II radio",
+       .type           = VID_TYPE_TUNER,
+       .fops           = &rtrack2_fops,
+       .ioctl_ops      = &rtrack2_ioctl_ops,
+};
+
 static int __init rtrack2_init(void)
 {
        if(io==-1)