summaryrefslogtreecommitdiff
path: root/drivers/w1
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2010-10-06 16:31:32 -0700
committerColin Cross <ccross@android.com>2010-10-06 16:32:09 -0700
commit98959c85632cde43fc83ba1b709f767fc3b8a4ee (patch)
treebe7912bc7cd8c2aab86922da933439ff951ab602 /drivers/w1
parent5c4a97667fdf6705d6c9f9e4b42dd7deb4da6978 (diff)
parentdf5ac72e83df9fd8d735d40d5be464d4b66d6074 (diff)
Merge branch 'android-2.6.36' into android-tegra-2.6.36
Conflicts: drivers/input/touchscreen/Kconfig Change-Id: Ifc75266e258f9513d78c47c12e2f1de1d2344f02
Diffstat (limited to 'drivers/w1')
-rw-r--r--drivers/w1/w1.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c
index 2839e281cd65..b7b5014ff714 100644
--- a/drivers/w1/w1.c
+++ b/drivers/w1/w1.c
@@ -517,10 +517,10 @@ static W1_MASTER_ATTR_RO(max_slave_count, S_IRUGO);
static W1_MASTER_ATTR_RO(attempts, S_IRUGO);
static W1_MASTER_ATTR_RO(timeout, S_IRUGO);
static W1_MASTER_ATTR_RO(pointer, S_IRUGO);
-static W1_MASTER_ATTR_RW(search, S_IRUGO | S_IWUGO);
-static W1_MASTER_ATTR_RW(pullup, S_IRUGO | S_IWUGO);
-static W1_MASTER_ATTR_RW(add, S_IRUGO | S_IWUGO);
-static W1_MASTER_ATTR_RW(remove, S_IRUGO | S_IWUGO);
+static W1_MASTER_ATTR_RW(search, S_IRUGO | S_IWUSR | S_IWGRP);
+static W1_MASTER_ATTR_RW(pullup, S_IRUGO | S_IWUSR | S_IWGRP);
+static W1_MASTER_ATTR_RW(add, S_IRUGO | S_IWUSR | S_IWGRP);
+static W1_MASTER_ATTR_RW(remove, S_IRUGO | S_IWUSR | S_IWGRP);
static struct attribute *w1_master_default_attrs[] = {
&w1_master_attribute_name.attr,