summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common/tuners/tuner-xc2028.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-12-05 11:49:53 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-05 11:49:53 -0200
commit929fe04b1e4235f1078c9ecbc1824e9ba43baba4 (patch)
treec084ef70e083b3b986e7ef702fd6579fa94a364b /linux/drivers/media/common/tuners/tuner-xc2028.c
parent53f02dd170952065cf1c6c18fefa194bd403c4ee (diff)
downloadmediapointer-dvb-s2-929fe04b1e4235f1078c9ecbc1824e9ba43baba4.tar.gz
mediapointer-dvb-s2-929fe04b1e4235f1078c9ecbc1824e9ba43baba4.tar.bz2
tuner-xc2028: fix a small warning
From: Mauro Carvalho Chehab <mchehab@redhat.com> /home/mauro/v4l-dvb/v4l/tuner-xc2028.c: In function 'xc2028_sleep': /home/mauro/v4l-dvb/v4l/tuner-xc2028.c:1111: warning: 'return' with no value, in function returning non-void Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/common/tuners/tuner-xc2028.c')
-rw-r--r--linux/drivers/media/common/tuners/tuner-xc2028.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/common/tuners/tuner-xc2028.c b/linux/drivers/media/common/tuners/tuner-xc2028.c
index c7ed924df..9536e3d3b 100644
--- a/linux/drivers/media/common/tuners/tuner-xc2028.c
+++ b/linux/drivers/media/common/tuners/tuner-xc2028.c
@@ -1108,7 +1108,7 @@ static int xc2028_sleep(struct dvb_frontend *fe)
/* Avoid firmware reload on slow devices */
if (no_poweroff)
- return;
+ return 0;
tuner_dbg("Putting xc2028/3028 into poweroff mode.\n");