提交 1a121451 编写于 作者: S Steven Miao 提交者: Bob Liu

bfin_dma: fix initcall return error in proc_dma_init()

Signed-off-by: NSteven Miao <realmz6@gmail.com>
Signed-off-by: NBob Liu <lliubbo@gmail.com>
上级 080bb657
......@@ -90,7 +90,8 @@ static const struct file_operations proc_dma_operations = {
static int __init proc_dma_init(void)
{
return proc_create("dma", 0, NULL, &proc_dma_operations) != NULL;
proc_create("dma", 0, NULL, &proc_dma_operations);
return 0;
}
late_initcall(proc_dma_init);
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册