diff options
author | Steven Miao <realmz6@gmail.com> | 2012-08-16 01:41:47 -0400 |
---|---|---|
committer | Bob Liu <lliubbo@gmail.com> | 2012-10-08 02:36:29 -0400 |
commit | ce8609146d09df213ed1e842ece7ad477e0ab7a6 (patch) | |
tree | 906628b9b7f55197adc5540497ff5f5642d1b080 /arch/blackfin | |
parent | a54081c45c4070c4ec708f63abb87b8d0944f77a (diff) |
Blackfin: bfin_gpio: proc: fix return value
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_gpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/kernel/bfin_gpio.c b/arch/blackfin/kernel/bfin_gpio.c index 83139aaf3072..ed978f1c5cb9 100644 --- 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) | |||
1265 | { | 1265 | { |
1266 | struct proc_dir_entry *proc_gpio; | 1266 | struct proc_dir_entry *proc_gpio; |
1267 | 1267 | ||
1268 | proc_gpio = proc_create("gpio", S_IRUGO, NULL, &gpio_proc_ops); | 1268 | proc_gpio = proc_create("gpio", 0, NULL, &gpio_proc_ops); |
1269 | return proc_gpio != NULL; | 1269 | return proc_gpio == NULL; |
1270 | } | 1270 | } |
1271 | __initcall(gpio_register_proc); | 1271 | __initcall(gpio_register_proc); |
1272 | #endif | 1272 | #endif |