diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-05 08:49:53 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 06:38:16 -0500 |
commit | 10f201af1bedd39a88913f472b33698c4a3b0680 (patch) | |
tree | 8b9a18f14249bf3dc76b90b602b283bb4d8d41f2 /drivers/media | |
parent | eb6c96345d07c7c3978e77d3ad0b5c5b9e5b2faa (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>
Diffstat (limited to 'drivers/media')
-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) | |||
1104 | 1104 | ||
1105 | /* Avoid firmware reload on slow devices */ | 1105 | /* Avoid firmware reload on slow devices */ |
1106 | if (no_poweroff) | 1106 | if (no_poweroff) |
1107 | return; | 1107 | return 0; |
1108 | 1108 | ||
1109 | tuner_dbg("Putting xc2028/3028 into poweroff mode.\n"); | 1109 | tuner_dbg("Putting xc2028/3028 into poweroff mode.\n"); |
1110 | 1110 | ||