V4L/DVB (9771): tuner-xc2028: fix a small warning
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 5 Dec 2008 13:49:53 +0000 (10:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:38:16 +0000 (09:38 -0200)
/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>
drivers/media/common/tuners/tuner-xc2028.c

index 8a964b417a75ebd9442d40946ca44d45cb5fdead..7b7e242cae169ea88edf1f46ab04c464cfb89b55 100644 (file)
@@ -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");