X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/8c72b797b421258e17ad6f7afcbc2ab9105e8dc8..174f70763e657424848a1b4ebc0835e4d5a204ea:/target/linux/ar7-2.6/files/drivers/char/ar7_gpio.c 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 d8dc2e1ff..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 @@ -30,8 +30,7 @@ #include #include - -#include +#include #define DRVNAME "ar7_gpio" #define LONGNAME "TI AR7 GPIOs Driver" @@ -142,6 +141,8 @@ static int __init ar7_gpio_init(void) ar7_gpio_major = rc; + rc = 0; + goto out; out_put: