From 2a3f7926400004b5e2be81257bf10f2ef73534c0 Mon Sep 17 00:00:00 2001 From: Johannes Stezenbach Date: Sun, 11 Dec 2005 00:22:43 +0000 Subject: [DVB] cinergyT2: cinergyt2_register_rc() should return 0 on success From: David S. Miller kernel-sync Currently, the version when ENABLE_RC is defined, falls through to the end of the function without returning anything. Signed-off-by: David S. Miller --- linux/drivers/media/dvb/cinergyT2/cinergyT2.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linux/drivers/media/dvb/cinergyT2/cinergyT2.c') diff --git a/linux/drivers/media/dvb/cinergyT2/cinergyT2.c b/linux/drivers/media/dvb/cinergyT2/cinergyT2.c index c610d3789..721905b21 100644 --- a/linux/drivers/media/dvb/cinergyT2/cinergyT2.c +++ b/linux/drivers/media/dvb/cinergyT2/cinergyT2.c @@ -813,6 +813,8 @@ static int cinergyt2_register_rc(struct cinergyt2 *cinergyt2) input_register_device(cinergyt2->rc_input_dev); schedule_delayed_work(&cinergyt2->rc_query_work, HZ/2); + + return 0; } static void cinergyt2_unregister_rc(struct cinergyt2 *cinergyt2) -- cgit v1.2.3