diff options
author | Johannes Stezenbach <devnull@localhost> | 2005-12-11 00:22:43 +0000 |
---|---|---|
committer | Johannes Stezenbach <devnull@localhost> | 2005-12-11 00:22:43 +0000 |
commit | 2a3f7926400004b5e2be81257bf10f2ef73534c0 (patch) | |
tree | e047ae871bf3e1dcb035fd3b4e3ff76250024d8e /linux/drivers/media/dvb/cinergyT2/cinergyT2.c | |
parent | e2b807fcde39d97d6f5274afdb56c591aeaf28b4 (diff) | |
download | mediapointer-dvb-s2-2a3f7926400004b5e2be81257bf10f2ef73534c0.tar.gz mediapointer-dvb-s2-2a3f7926400004b5e2be81257bf10f2ef73534c0.tar.bz2 |
[DVB] cinergyT2: cinergyt2_register_rc() should return 0 on success
From: David S. Miller <davem@davemloft.net>
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 <davem@davemloft.net>
Diffstat (limited to 'linux/drivers/media/dvb/cinergyT2/cinergyT2.c')
-rw-r--r-- | linux/drivers/media/dvb/cinergyT2/cinergyT2.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) |