summaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorSteven Miao <realmz6@gmail.com>2012-05-03 15:40:26 +0800
committerBob Liu <lliubbo@gmail.com>2012-05-21 14:54:40 +0800
commit1a1214519be643461bbe1a779ca9d436f993e465 (patch)
tree6170fc48a9502cb2e666e597b4127a4abdbeb200 /arch/blackfin
parent080bb657eb0d02d0df73e62572eb814aebf66850 (diff)
downloadop-kernel-dev-1a1214519be643461bbe1a779ca9d436f993e465.zip
op-kernel-dev-1a1214519be643461bbe1a779ca9d436f993e465.tar.gz
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 b612324..c166939 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
OpenPOWER on IntegriCloud