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:
a54081c
)
Blackfin: bfin_gpio: proc: fix return value
author
Steven Miao
<realmz6@gmail.com>
Thu, 16 Aug 2012 05:41:47 +0000
(13:41 +0800)
committer
Bob Liu
<lliubbo@gmail.com>
Mon, 8 Oct 2012 06:36:29 +0000
(14:36 +0800)
Signed-off-by: Steven Miao <realmz6@gmail.com>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
arch/blackfin/kernel/bfin_gpio.c
patch
|
blob
|
history
diff --git
a/arch/blackfin/kernel/bfin_gpio.c
b/arch/blackfin/kernel/bfin_gpio.c
index
83139aa
..
ed978f1
100644
(file)
--- a/
arch/blackfin/kernel/bfin_gpio.c
+++ b/
arch/blackfin/kernel/bfin_gpio.c
@@
-1265,8
+1265,8
@@
static __init int gpio_register_proc(void)
{
struct proc_dir_entry *proc_gpio;
- proc_gpio = proc_create("gpio",
S_IRUGO
, NULL, &gpio_proc_ops);
- return proc_gpio
!
= NULL;
+ proc_gpio = proc_create("gpio",
0
, NULL, &gpio_proc_ops);
+ return proc_gpio
=
= NULL;
}
__initcall(gpio_register_proc);
#endif