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-02-20 16:05:29 +0100
commitf95cee0959085bd0a891bce2ab59dc37abb15951 (patch)
treecb0cad632ad66c4b16ce711428c3f376aa5dc6cc
parent2ccbaaae5303606041b010ba39774b900a68b86a (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,