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-21 09:55:02 +0100
commitf7fb90398b45d2d476d9a24854fcaacea1ab61d8 (patch)
tree82f65080fbbee4624433609bb52051977e26cb2e
parent88e6fc80bca94e2c1bd56245f876e15f2f6e37f9 (diff)
input:lps001wp_prs: Correct sysfs file permissionsandroid-release-2012-02
-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,