summaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorSteven Miao <realmz6@gmail.com>2012-05-03 09:40:26 +0200
committerBob Liu <lliubbo@gmail.com>2012-05-21 08:54:40 +0200
commit1a1214519be643461bbe1a779ca9d436f993e465 (patch)
tree6170fc48a9502cb2e666e597b4127a4abdbeb200 /arch/blackfin
parentBlackfin: delete fork func (diff)
downloadlinux-1a1214519be643461bbe1a779ca9d436f993e465.tar.xz
linux-1a1214519be643461bbe1a779ca9d436f993e465.zip
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>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/kernel/bfin_dma.c3
1 files changed, 2 insertions, 1 deletions
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