提交 7b5603e0 编写于 作者: D David S. Miller

[DVB] cinergyT2: cinergyt2_register_rc() should return 0 on success

Currently, the version when ENABLE_RC is defined, falls through
to the end of the function without returning anything.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 574780d5
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册