]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
[media] tm6000: Fix a warning at tm6000_ir_int_start()
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 11 Dec 2011 14:20:49 +0000 (12:20 -0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 11 Dec 2011 14:20:49 +0000 (12:20 -0200)
drivers/media/video/tm6000/tm6000-input.c: In function ‘tm6000_ir_int_start’:
drivers/media/video/tm6000/tm6000-input.c:381:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tm6000/tm6000-input.c

index 89e003c0cfeded6a909caa02f97d85d2bc2e12ff..8d925274c8d67cd177a5fb368f460fc437025c29 100644 (file)
@@ -378,7 +378,7 @@ int tm6000_ir_int_start(struct tm6000_core *dev)
        struct tm6000_IR *ir = dev->ir;
 
        if (!ir)
-               return;
+               return 0;
 
        return __tm6000_ir_int_start(ir->rc);
 }