summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorJohannes Stezenbach <devnull@localhost>2005-12-11 00:22:43 +0000
committerJohannes Stezenbach <devnull@localhost>2005-12-11 00:22:43 +0000
commit2a3f7926400004b5e2be81257bf10f2ef73534c0 (patch)
treee047ae871bf3e1dcb035fd3b4e3ff76250024d8e /linux
parente2b807fcde39d97d6f5274afdb56c591aeaf28b4 (diff)
downloadmediapointer-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')
-rw-r--r--linux/drivers/media/dvb/cinergyT2/cinergyT2.c2
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)