diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-07-31 15:46:56 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-07-31 15:46:56 +0000 |
commit | 51dfaf45b432717a7a1b695f1386dbfeacc3ce05 (patch) | |
tree | 05e691aed41d4a6eee08531d5438cb7176da70f0 /target | |
parent | 2d03bdf60c51c7f2c8b4a5f7062b1225e1edd24e (diff) | |
download | openwrt-51dfaf45b432717a7a1b695f1386dbfeacc3ce05.tar.gz openwrt-51dfaf45b432717a7a1b695f1386dbfeacc3ce05.tar.bz2 openwrt-51dfaf45b432717a7a1b695f1386dbfeacc3ce05.zip |
Fix the gpio init (#2148)
SVN-Revision: 8279
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ar7-2.6/files/drivers/char/ar7_gpio.c | 2 |
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: |