From: Steven Miao Date: Thu, 3 May 2012 07:40:26 +0000 (+0800) Subject: bfin_dma: fix initcall return error in proc_dma_init() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1a1214519be643461bbe1a779ca9d436f993e465;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git bfin_dma: fix initcall return error in proc_dma_init() Signed-off-by: Steven Miao Signed-off-by: Bob Liu --- 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