projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
080bb65
)
bfin_dma: fix initcall return error in proc_dma_init()
author
Steven Miao
<realmz6@gmail.com>
Thu, 3 May 2012 07:40:26 +0000
(15:40 +0800)
committer
Bob Liu
<lliubbo@gmail.com>
Mon, 21 May 2012 06:54:40 +0000
(14:54 +0800)
Signed-off-by: Steven Miao <realmz6@gmail.com>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
arch/blackfin/kernel/bfin_dma.c
patch
|
blob
|
history
diff --git
a/arch/blackfin/kernel/bfin_dma.c
b/arch/blackfin/kernel/bfin_dma.c
index
b612324
..
c166939
100644
(file)
--- 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