Merge branch 'smack-for-3.20-rebased' of git://git.gitorious.org/smack-next/kernel...
[firefly-linux-kernel-4.4.55.git] / drivers / cpuidle / sysfs.c
index efe2f175168f608f6170d37d516a444cab6c0676..97c5903b4606cf0fa02aecec826cbed605796234 100644 (file)
@@ -445,7 +445,7 @@ static void cpuidle_remove_state_sysfs(struct cpuidle_device *device)
 
 #define define_one_driver_ro(_name, show)                       \
        static struct cpuidle_driver_attr attr_driver_##_name = \
-               __ATTR(_name, 0644, show, NULL)
+               __ATTR(_name, 0444, show, NULL)
 
 struct cpuidle_driver_kobj {
        struct cpuidle_driver *drv;