enable start-stop-daemon by default, i want to use this to clean up a few init script...
[openwrt/staging/florian.git] / target / linux / ar7-2.6 / files / drivers / char / ar7_gpio.c
index d8dc2e1ff5b58f0ef784fde004eb4ca2218dce4b..a5245da356473d2c7c5da46e23e62f6761964e5d 100644 (file)
@@ -30,8 +30,7 @@
 
 #include <linux/types.h>
 #include <linux/cdev.h>
-
-#include <asm/gpio.h>
+#include <gpio.h>
 
 #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: