From c3fcd2a942b87c081a2401ec32733964ddbe395f Mon Sep 17 00:00:00 2001 From: Yongqin Liu Date: Mon, 13 Apr 2015 21:06:06 +0800 Subject: 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 --- evdevtest/kernel_module/juice_input_test_module.c | 4 ++-- 1 file 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) -- cgit v1.2.3