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=51dfaf45b432717a7a1b695f1386dbfeacc3ce05;p=openwrt%2Fstaging%2Frmilecki.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 df8e7634ebc..a5245da3564 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: