summaryrefslogtreecommitdiff
path: root/target/linux/ar7-2.6/files/drivers/char
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar7-2.6/files/drivers/char')
-rw-r--r--target/linux/ar7-2.6/files/drivers/char/ar7_gpio.c2
1 files changed, 2 insertions, 0 deletions
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 df8e7634eb..a5245da356 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: