]> git.hungrycats.org Git - linux/commitdiff
[PATCH] fix GTUNER on w9966
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Fri, 21 Mar 2003 10:22:35 +0000 (02:22 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Fri, 21 Mar 2003 10:22:35 +0000 (02:22 -0800)
drivers/media/video/w9966.c

index 4c8402672645dd3f8c19813efc10a5b0d1c61470..11b92d36bba7dbd346a7934e92db2f06fcf026e7 100644 (file)
@@ -742,7 +742,7 @@ static int w9966_v4l_do_ioctl(struct inode *inode, struct file *file,
        case VIDIOCGTUNER:
        {
                struct video_tuner *vtune = arg;
-               if(vtune->tuner != 0);
+               if(vtune->tuner != 0)
                        return -EINVAL;
                strcpy(vtune->name, "no tuner");
                vtune->rangelow = 0;