return 0;\r
}\r
\r
-static DEVICE_ATTR(dmamemcpy, S_IRUGO|S_IALLUGO, memcpy_dma_read, memcpy_dma_write);\r
+static DEVICE_ATTR(dmamemcpy, S_IRUGO|S_IXUGO, memcpy_dma_read, memcpy_dma_write);\r
\r
\r
static int __devinit dma_memcpy_probe(struct platform_device *pdev)\r
\r
return _count;\r
}\r
-static CLASS_ATTR(debug, 0666, dbg_mode_show, dbg_mode_store);\r
+static CLASS_ATTR(debug, 0664, dbg_mode_show, dbg_mode_store);\r
\r
static int dbg_sys_init(void)\r
{\r
*/\r
\r
static struct class *rkwifi_class = NULL;\r
-static CLASS_ATTR(chip, 0666, wifi_chip_read, NULL);\r
+static CLASS_ATTR(chip, 0664, wifi_chip_read, NULL);\r
\r
int rkwifi_sysif_init(void)\r
{\r
}\r
#endif\r
static struct device_attribute hdmi_attrs[] = {\r
- __ATTR(state, 0777, hdmi_show_state_attrs, hdmi_restore_state_attrs),\r
- __ATTR(enable, 0777, hdmi_show_switch_attrs, hdmi_restore_switch_attrs),\r
- __ATTR(debug, 0777, hdmi_show_debug_attrs, hdmi_restore_debug_attrs),\r
+ __ATTR(state, 0774, hdmi_show_state_attrs, hdmi_restore_state_attrs),\r
+ __ATTR(enable, 0774, hdmi_show_switch_attrs, hdmi_restore_switch_attrs),\r
+ __ATTR(debug, 0774, hdmi_show_debug_attrs, hdmi_restore_debug_attrs),\r
//__ATTR(init, 0777, NULL, hdmi_restore_init_attrs),\r
};\r
int hdmi_create_attrs(struct hdmi *hdmi)\r