From: Mauro Carvalho Chehab Date: Sun, 11 Dec 2011 14:20:49 +0000 (-0200) Subject: [media] tm6000: Fix a warning at tm6000_ir_int_start() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=56a8b9f181b5e9b201ab02ad0b63ccdc17d4b191;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [media] tm6000: Fix a warning at tm6000_ir_int_start() 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 --- diff --git a/drivers/media/video/tm6000/tm6000-input.c b/drivers/media/video/tm6000/tm6000-input.c index 89e003c0cfed..8d925274c8d6 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); }