summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Cubie <tangliang@allwinnertech.com>2012-01-16 09:21:56 +0400
committerTom Cubie <tangliang@allwinnertech.com>2012-01-16 09:23:41 +0400
commitbfe37ecaa0b7784c6910afe5d644a034f9cc691e (patch)
treea2b2b8f105e73e2d5e97b2f7898cf702856db2a0
parentc93f6da4e0f43f0d857e22b86815fb85b540f584 (diff)
downloadlinux-sunxi-mirror/allwinner-2.6.36.tar.xz
sun4i: fix android timed out device file permissionmirror/allwinner-2.6.36lichee-dev
user and group read write, others can not access
-rw-r--r--drivers/staging/android/timed_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/android/timed_output.c b/drivers/staging/android/timed_output.c
index f373422308e0..5b97dc19fd75 100644
--- a/drivers/staging/android/timed_output.c
+++ b/drivers/staging/android/timed_output.c
@@ -49,7 +49,7 @@ static ssize_t enable_store(
return size;
}
-static DEVICE_ATTR(enable, S_IRUGO | S_IWUSR, enable_show, enable_store);
+static DEVICE_ATTR(enable, S_IRUSR | S_IRGRP, enable_show, enable_store);
static int create_timed_output_class(void)
{