From 56a8b9f181b5e9b201ab02ad0b63ccdc17d4b191 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sun, 11 Dec 2011 12:20:49 -0200 Subject: [PATCH] [media] tm6000: Fix a warning at tm6000_ir_int_start() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- drivers/media/video/tm6000/tm6000-input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/video/tm6000/tm6000-input.c b/drivers/media/video/tm6000/tm6000-input.c index 89e003c0cfe..8d925274c8d 100644 --- a/drivers/media/video/tm6000/tm6000-input.c +++ b/drivers/media/video/tm6000/tm6000-input.c @@ -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); } -- 2.39.5