make gpio conformant to generic gpio spec.
[openwrt/svn-archive/archive.git] / target / linux / ar7 / files / drivers / char / ar7_gpio.c
index d3cd7d96cc71efe68bf7da23b11b23522fc1e190..aa68a5b87bed71c5cc26346c0cf37051c4c96630 100644 (file)
@@ -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;