Skip to content

Commit

Permalink
bfin_dma: fix initcall return error in proc_dma_init()
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Miao <realmz6@gmail.com>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
  • Loading branch information
Steven Miao authored and Bob Liu committed May 21, 2012
1 parent 080bb65 commit 1a12145
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/blackfin/kernel/bfin_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a12145

Please sign in to comment.