diff options
author | Eugene Konev <ejka@imfi.kspu.ru> | 2007-09-21 12:37:50 +0000 |
---|---|---|
committer | Eugene Konev <ejka@imfi.kspu.ru> | 2007-09-21 12:37:50 +0000 |
commit | 041a03c5bdb4339f3ed2bc90268747de5b20c951 (patch) | |
tree | 9be165a8c4ae82520674a61cefae303e06c03de5 /target/linux/ar7/files/drivers/char | |
parent | d725c9b25be261a9cdde4b83ff00ed0744fe9c7d (diff) | |
download | upstream-041a03c5bdb4339f3ed2bc90268747de5b20c951.tar.gz upstream-041a03c5bdb4339f3ed2bc90268747de5b20c951.tar.bz2 upstream-041a03c5bdb4339f3ed2bc90268747de5b20c951.zip |
make gpio conformant to generic gpio spec.
SVN-Revision: 8911
Diffstat (limited to 'target/linux/ar7/files/drivers/char')
-rw-r--r-- | target/linux/ar7/files/drivers/char/ar7_gpio.c | 2 |
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; |