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 df8e763..a5245da 100644 (file)
@@ -141,6 +141,8 @@ static int __init ar7_gpio_init(void)
 
        ar7_gpio_major = rc;
 
+       rc = 0;
+
        goto out;
 
 out_put: