summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-01 18:34:36 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-01 18:34:36 -0300
commit4d284bf8f199c1578551bf83c9d9692fdd2b86dd (patch)
tree4ef749ca0b351bc311cd039003dbc4522a67e737 /linux
parentad3005a5aef389128ae49acebb757b690de6a06c (diff)
downloadmediapointer-dvb-s2-4d284bf8f199c1578551bf83c9d9692fdd2b86dd.tar.gz
mediapointer-dvb-s2-4d284bf8f199c1578551bf83c9d9692fdd2b86dd.tar.bz2
Fix a small bug introduced on a previous changeset.
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/bt8xx/bttv-driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/bt8xx/bttv-driver.c b/linux/drivers/media/video/bt8xx/bttv-driver.c
index 6e9ad7290..c1173a94a 100644
--- a/linux/drivers/media/video/bt8xx/bttv-driver.c
+++ b/linux/drivers/media/video/bt8xx/bttv-driver.c
@@ -3599,7 +3599,7 @@ static int radio_s_audio(struct file *file, void *priv,
static int radio_s_input(struct file *filp, void *priv, unsigned int i)
{
- if (unlikely(i->index))
+ if (unlikely(i))
return -EINVAL;
return 0;