diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2015-04-13 21:06:06 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2015-04-13 21:06:06 +0800 |
commit | c3fcd2a942b87c081a2401ec32733964ddbe395f (patch) | |
tree | 6d49e583969be159617596a8ac8c2a89807c392d | |
parent | db83323751f045926197d6049c0d20eefd07bb47 (diff) | |
download | linaro-android-kernel-test-c3fcd2a942b87c081a2401ec32733964ddbe395f.tar.gz |
evdevtest: set permission for __ATTR to 0775
this change will make the evdevtest can be compiled with newer kernel
which has strict check on the permission mode for __ATTR
Change-Id: Iadbea08a307696d9dee3e12f7c9767b26bf4786f
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rw-r--r-- | evdevtest/kernel_module/juice_input_test_module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/evdevtest/kernel_module/juice_input_test_module.c b/evdevtest/kernel_module/juice_input_test_module.c index 6472d7f..8873134 100644 --- a/evdevtest/kernel_module/juice_input_test_module.c +++ b/evdevtest/kernel_module/juice_input_test_module.c @@ -106,10 +106,10 @@ static ssize_t interval_store(struct kobject *kobj, struct kobj_attribute *attr, } static struct kobj_attribute run_attr = - __ATTR(run, 0777, run_show, run_store); + __ATTR(run, 0775, run_show, run_store); static struct kobj_attribute interval_attr = - __ATTR(interval, 0777, interval_show, interval_store); + __ATTR(interval, 0775, interval_show, interval_store); static int __init juice_testkbd_init(void) |