aboutsummaryrefslogtreecommitdiffstats
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
commit51dfaf45b432717a7a1b695f1386dbfeacc3ce05 (patch)
tree05e691aed41d4a6eee08531d5438cb7176da70f0
parent2d03bdf60c51c7f2c8b4a5f7062b1225e1edd24e (diff)
downloadupstream-51dfaf45b432717a7a1b695f1386dbfeacc3ce05.tar.gz
upstream-51dfaf45b432717a7a1b695f1386dbfeacc3ce05.tar.bz2
upstream-51dfaf45b432717a7a1b695f1386dbfeacc3ce05.zip
Fix the gpio init (#2148)
SVN-Revision: 8279
-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: