diff options
author | Eugene Konev <ejka@openwrt.org> | 2007-09-21 12:37:50 +0000 |
---|---|---|
committer | Eugene Konev <ejka@openwrt.org> | 2007-09-21 12:37:50 +0000 |
commit | 477106c4e86e9346a63edd0f3d79e9f10b5d8a3b (patch) | |
tree | f6c8e7ecf7b2d3f53aa96fd8062af9d2774dce18 /target/linux/ar7/files/drivers/leds/leds-ar7.c | |
parent | 2ff24f03277c531f5a864c8bb1d9fd53757a27f5 (diff) | |
download | master-187ad058-477106c4e86e9346a63edd0f3d79e9f10b5d8a3b.tar.gz master-187ad058-477106c4e86e9346a63edd0f3d79e9f10b5d8a3b.tar.bz2 master-187ad058-477106c4e86e9346a63edd0f3d79e9f10b5d8a3b.zip |
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/leds-ar7.c')
-rw-r--r-- | target/linux/ar7/files/drivers/leds/leds-ar7.c | 2 |
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; |