From: Florian Fainelli Date: Tue, 31 Jul 2007 15:46:56 +0000 (+0000) Subject: Fix the gpio init (#2148) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=df1b04ee6ea967be25ca8b7ed6e5a52cd6ae3899;p=openwrt%2Fsvn-archive%2Farchive.git Fix the gpio init (#2148) SVN-Revision: 8279 --- 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: