summaryrefslogtreecommitdiff
path: root/target/linux/ar7/files/drivers/char
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/char
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/char')
-rw-r--r--target/linux/ar7/files/drivers/char/ar7_gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar7/files/drivers/char/ar7_gpio.c b/target/linux/ar7/files/drivers/char/ar7_gpio.c
index d3cd7d96cc..aa68a5b87b 100644
--- a/target/linux/ar7/files/drivers/char/ar7_gpio.c
+++ b/target/linux/ar7/files/drivers/char/ar7_gpio.c
@@ -73,7 +73,7 @@ static ssize_t ar7_gpio_write(struct file *file, const char __user *buf,
case 'o':
case 'O':
case '>':
- gpio_direction_output(pin);
+ gpio_direction_output(pin, 0);
break;
default:
return -EINVAL;