summaryrefslogtreecommitdiffstats
path: root/target/linux/ar7-2.6/files/drivers/char/ar7_gpio.c
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-31 15:46:56 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-31 15:46:56 +0000
commit174f70763e657424848a1b4ebc0835e4d5a204ea (patch)
tree883429efbaaf1408455b19553203e0035adf402d /target/linux/ar7-2.6/files/drivers/char/ar7_gpio.c
parent8ad605de2a3060d86961bade6472b691c9522263 (diff)
Fix the gpio init (#2148)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8279 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7-2.6/files/drivers/char/ar7_gpio.c')
-rw-r--r--target/linux/ar7-2.6/files/drivers/char/ar7_gpio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ar7-2.6/files/drivers/char/ar7_gpio.c b/target/linux/ar7-2.6/files/drivers/char/ar7_gpio.c
index df8e7634e..a5245da35 100644
--- a/target/linux/ar7-2.6/files/drivers/char/ar7_gpio.c
+++ b/target/linux/ar7-2.6/files/drivers/char/ar7_gpio.c
@@ -141,6 +141,8 @@ static int __init ar7_gpio_init(void)
ar7_gpio_major = rc;
+ rc = 0;
+
goto out;
out_put: