From 174f70763e657424848a1b4ebc0835e4d5a204ea Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 31 Jul 2007 15:46:56 +0000 Subject: Fix the gpio init (#2148) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8279 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar7-2.6/files/drivers/char/ar7_gpio.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target/linux') 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 df8e7634e..a5245da35 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: -- cgit v1.2.3