diff options
author | Steven Miao <realmz6@gmail.com> | 2012-05-03 15:40:26 +0800 |
---|---|---|
committer | Bob Liu <lliubbo@gmail.com> | 2012-05-21 14:54:40 +0800 |
commit | 1a1214519be643461bbe1a779ca9d436f993e465 (patch) | |
tree | 6170fc48a9502cb2e666e597b4127a4abdbeb200 /arch/blackfin | |
parent | 080bb657eb0d02d0df73e62572eb814aebf66850 (diff) | |
download | linux-stable-1a1214519be643461bbe1a779ca9d436f993e465.tar.gz linux-stable-1a1214519be643461bbe1a779ca9d436f993e465.tar.bz2 linux-stable-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.c | 3 |
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 |