aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/blackfin/kernel/bfin_gpio.c4
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