[DVB] cinergyT2: cinergyt2_register_rc() should return 0 on success
authorDavid S. Miller <davem@sunset.davemloft.net>
Wed, 16 Nov 2005 08:11:50 +0000 (00:11 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 16 Nov 2005 08:11:50 +0000 (00:11 -0800)
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 <davem@davemloft.net>
drivers/media/dvb/cinergyT2/cinergyT2.c

index 2dfd7cd160deabb8bf7ba276f6dde3c19b0ecfe7..fb394a0d838c8df550b523eee0e17e7ad908cda2 100644 (file)
@@ -779,6 +779,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)