summaryrefslogtreecommitdiff
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
commit51dfaf45b432717a7a1b695f1386dbfeacc3ce05 (patch)
tree05e691aed41d4a6eee08531d5438cb7176da70f0 /target/linux
parent2d03bdf60c51c7f2c8b4a5f7062b1225e1edd24e (diff)
downloadmtk-20170518-51dfaf45b432717a7a1b695f1386dbfeacc3ce05.zip
mtk-20170518-51dfaf45b432717a7a1b695f1386dbfeacc3ce05.tar.gz
mtk-20170518-51dfaf45b432717a7a1b695f1386dbfeacc3ce05.tar.bz2
Fix the gpio init (#2148)
SVN-Revision: 8279
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 df8e763..a5245da 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: