mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
bfin_dma: fix initcall return error in proc_dma_init()
Signed-off-by: Steven Miao <realmz6@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
This commit is contained in:
parent
080bb657eb
commit
1a1214519b
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue