summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenn Pörscke <benn.porscke@stericsson.com>2012-02-20 09:59:07 +0100
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:06:12 +0200
commit654b71a446e238a8fb1c80749ed083f9b4d74e82 (patch)
treef93ae1e0ca36ae92fe75eb42beb7e42ba4e8f6c8
parent4655b9c95ddc2e087eec81cd4b05a072f09f2f23 (diff)
input:lps001wp_prs: Correct sysfs file permissions
-rw-r--r--drivers/input/misc/lps001wp_prs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/lps001wp_prs.c b/drivers/input/misc/lps001wp_prs.c
index 1618dfaa16f..45a322729ff 100644
--- a/drivers/input/misc/lps001wp_prs.c
+++ b/drivers/input/misc/lps001wp_prs.c
@@ -994,7 +994,7 @@ static ssize_t attr_addr_set(struct device *dev, struct device_attribute *attr,
static struct device_attribute attributes[] = {
__ATTR(pollrate_ms, S_IWUSR | S_IRUGO, attr_get_polling_rate,
attr_set_polling_rate),
- __ATTR(enable, S_IWUSR | S_IRUGO, attr_get_enable, attr_set_enable),
+ __ATTR(enable, S_IWUGO | S_IRUGO, attr_get_enable, attr_set_enable),
__ATTR(diff_enable, S_IWUSR | S_IRUGO, attr_get_diff_enable,
attr_set_diff_enable),
__ATTR(press_reference, S_IWUSR | S_IRUGO, attr_get_press_ref,