Message ID | 20160802105103.28617-1-baolex.ni@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/hid/hid-picolcd_fb.c b/drivers/hid/hid-picolcd_fb.c index 7f965e2..b12c277 100644 --- a/drivers/hid/hid-picolcd_fb.c +++ b/drivers/hid/hid-picolcd_fb.c @@ -501,7 +501,7 @@ static ssize_t picolcd_fb_update_rate_store(struct device *dev, return count; } -static DEVICE_ATTR(fb_update_rate, 0664, picolcd_fb_update_rate_show, +static DEVICE_ATTR(fb_update_rate, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH, picolcd_fb_update_rate_show, picolcd_fb_update_rate_store); /* initialize Framebuffer device */