Skip to content

Commit

Permalink
[media] tm6000: Fix a warning at tm6000_ir_int_start()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mauro Carvalho Chehab committed Dec 11, 2011
1 parent a16fa71 commit 56a8b9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/tm6000/tm6000-input.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 56a8b9f

Please sign in to comment.