summaryrefslogtreecommitdiffstats
path: root/drivers/media/common
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-12-05 14:49:53 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 12:38:16 +0100
commit10f201af1bedd39a88913f472b33698c4a3b0680 (patch)
tree8b9a18f14249bf3dc76b90b602b283bb4d8d41f2 /drivers/media/common
parentV4L/DVB (9770): em28xx: turn off tuner when not used (diff)
downloadlinux-10f201af1bedd39a88913f472b33698c4a3b0680.tar.xz
linux-10f201af1bedd39a88913f472b33698c4a3b0680.zip
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>
Diffstat (limited to 'drivers/media/common')
-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");