aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-07-31 15:46:56 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-07-31 15:46:56 +0000
commit0aedafab7c8483b0079ede5bdc4a5f1bb1b0bea0 (patch)
tree883429efbaaf1408455b19553203e0035adf402d /target/linux
parentd0706f0223fe5b858d612a6de3991bcaea257d1b (diff)
downloadupstream-0aedafab7c8483b0079ede5bdc4a5f1bb1b0bea0.tar.gz
upstream-0aedafab7c8483b0079ede5bdc4a5f1bb1b0bea0.tar.bz2
upstream-0aedafab7c8483b0079ede5bdc4a5f1bb1b0bea0.zip
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')
-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 df8e7634eb..a5245da356 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: