Fix the gpio init (#2148)
authorFlorian Fainelli <florian@openwrt.org>
Tue, 31 Jul 2007 15:46:56 +0000 (15:46 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 31 Jul 2007 15:46:56 +0000 (15:46 +0000)
SVN-Revision: 8279

target/linux/ar7-2.6/files/drivers/char/ar7_gpio.c

index df8e7634ebc62b07061a3252adc9dec218f483f8..a5245da356473d2c7c5da46e23e62f6761964e5d 100644 (file)
@@ -141,6 +141,8 @@ static int __init ar7_gpio_init(void)
 
        ar7_gpio_major = rc;
 
+       rc = 0;
+
        goto out;
 
 out_put: