diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-05 14:49:53 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 12:38:16 +0100 |
commit | 10f201af1bedd39a88913f472b33698c4a3b0680 (patch) | |
tree | 8b9a18f14249bf3dc76b90b602b283bb4d8d41f2 /drivers/media/common | |
parent | V4L/DVB (9770): em28xx: turn off tuner when not used (diff) | |
download | linux-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.c | 2 |
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"); |