diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-07-31 15:46:56 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-07-31 15:46:56 +0000 |
commit | 174f70763e657424848a1b4ebc0835e4d5a204ea (patch) | |
tree | 883429efbaaf1408455b19553203e0035adf402d /target/linux | |
parent | 8ad605de2a3060d86961bade6472b691c9522263 (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')
-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 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: |