From 1a1214519be643461bbe1a779ca9d436f993e465 Mon Sep 17 00:00:00 2001 From: Steven Miao Date: Thu, 3 May 2012 15:40:26 +0800 Subject: bfin_dma: fix initcall return error in proc_dma_init() Signed-off-by: Steven Miao Signed-off-by: Bob Liu --- arch/blackfin/kernel/bfin_dma.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/blackfin/kernel/bfin_dma.c b/arch/blackfin/kernel/bfin_dma.c index b612324fb8da..c166939ffb2b 100644 --- a/arch/blackfin/kernel/bfin_dma.c +++ b/arch/blackfin/kernel/bfin_dma.c @@ -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 -- cgit v1.2.3