Commit ed43d2a0 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

updated

parent 96536725
...@@ -616,7 +616,7 @@ static ssize_t enable_por_store(struct device *dev, struct device_attribute *att ...@@ -616,7 +616,7 @@ static ssize_t enable_por_store(struct device *dev, struct device_attribute *att
return count; return count;
} }
static ssize_t gpio_10389_set(struct device *dev, struct device_attribute *attr, char *buf, size_t count) static ssize_t gpio_10389_set(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
{ {
int result; int result;
int value; int value;
...@@ -647,7 +647,7 @@ static ssize_t detected_10389_get(struct device *dev, struct device_attribute *a ...@@ -647,7 +647,7 @@ static ssize_t detected_10389_get(struct device *dev, struct device_attribute *a
return sprintf(buf,"%i",res); return sprintf(buf,"%i",res);
} }
static ssize_t gpio_poweroff(struct device *dev, struct device_attribute *attr, char *buf, size_t count) static ssize_t gpio_poweroff(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
{ {
int rc=gpio_shutdown(dev); int rc=gpio_shutdown(dev);
if (rc<0) return rc; if (rc<0) return rc;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment