summaryrefslogtreecommitdiff
path: root/target/linux/ar7/files/drivers/leds
diff options
context:
space:
mode:
authorejka <ejka@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-21 12:37:50 +0000
committerejka <ejka@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-21 12:37:50 +0000
commit35a0fb9185194743f1d43c07dea98347e052a96a (patch)
treef6c8e7ecf7b2d3f53aa96fd8062af9d2774dce18 /target/linux/ar7/files/drivers/leds
parent9fb66acf6351fde2162c690b2e238f4c438febb0 (diff)
make gpio conformant to generic gpio spec.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8911 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7/files/drivers/leds')
-rw-r--r--target/linux/ar7/files/drivers/leds/leds-ar7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar7/files/drivers/leds/leds-ar7.c b/target/linux/ar7/files/drivers/leds/leds-ar7.c
index fb137c9221..53ab53f208 100644
--- a/target/linux/ar7/files/drivers/leds/leds-ar7.c
+++ b/target/linux/ar7/files/drivers/leds/leds-ar7.c
@@ -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;