summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-12-05 10:49:53 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 09:38:16 -0200
commit10f201af1bedd39a88913f472b33698c4a3b0680 (patch)
tree8b9a18f14249bf3dc76b90b602b283bb4d8d41f2
parenteb6c96345d07c7c3978e77d3ad0b5c5b9e5b2faa (diff)
V4L/DVB (9771): tuner-xc2028: fix a small warning
/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 Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/common/tuners/tuner-xc2028.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/tuners/tuner-xc2028.c b/drivers/media/common/tuners/tuner-xc2028.c
index 8a964b417a75..7b7e242cae16 100644
--- a/drivers/media/common/tuners/tuner-xc2028.c
+++ b/drivers/media/common/tuners/tuner-xc2028.c
@@ -1104,7 +1104,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");