From 51dfaf45b432717a7a1b695f1386dbfeacc3ce05 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Tue, 31 Jul 2007 15:46:56 +0000 Subject: [PATCH] Fix the gpio init (#2148) SVN-Revision: 8279 --- target/linux/ar7-2.6/files/drivers/char/ar7_gpio.c | 2 ++ 1 file changed, 2 insertions(+) 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: -- 2.30.2