make gpio conformant to generic gpio spec.
[openwrt-10.03/.git] / target / linux / ar7 / files / drivers / leds / leds-ar7.c
index fb137c9221e362d69b211ab7d36043e56df951b0..53ab53f208f65b2b8711cfb3e0a454facfe32c9c 100644 (file)
@@ -73,7 +73,7 @@ static int ar7_leds_probe(struct platform_device *pdev)
                goto out;
 
        ar7_gpio_enable(AR7_GPIO_BIT_STATUS_LED);
-       gpio_direction_output(AR7_GPIO_BIT_STATUS_LED);
+       gpio_direction_output(AR7_GPIO_BIT_STATUS_LED, 0);
 
 out:
        return rc;