]> xenbits.xensource.com Git - linux-pvops.git/commitdiff
bttv: fix s_tuner for radio
authorHans Verkuil <hans.verkuil@cisco.com>
Sun, 12 Jun 2011 10:02:43 +0000 (07:02 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 8 Aug 2011 17:23:06 +0000 (10:23 -0700)
commit a024c1a6b274e11596d124619e43c25560f64c01 upstream.

Fix typo: g_tuner should have been s_tuner.

Tested with a bttv card.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/media/video/bt8xx/bttv-driver.c

index d258ed719b7d75e63895eb475d99082a9b9eebf6..f0e9c75805e174b0c16a3b833882f0434da2ca22 100644 (file)
@@ -3532,7 +3532,7 @@ static int radio_s_tuner(struct file *file, void *priv,
        if (0 != t->index)
                return -EINVAL;
 
-       bttv_call_all(btv, tuner, g_tuner, t);
+       bttv_call_all(btv, tuner, s_tuner, t);
        return 0;
 }