diff options
Diffstat (limited to 'drivers/cpuidle/sysfs.c')
-rw-r--r-- | drivers/cpuidle/sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpuidle/sysfs.c b/drivers/cpuidle/sysfs.c index efe2f175168f..97c5903b4606 100644 --- a/drivers/cpuidle/sysfs.c +++ b/drivers/cpuidle/sysfs.c | |||
@@ -445,7 +445,7 @@ static void cpuidle_remove_state_sysfs(struct cpuidle_device *device) | |||
445 | 445 | ||
446 | #define define_one_driver_ro(_name, show) \ | 446 | #define define_one_driver_ro(_name, show) \ |
447 | static struct cpuidle_driver_attr attr_driver_##_name = \ | 447 | static struct cpuidle_driver_attr attr_driver_##_name = \ |
448 | __ATTR(_name, 0644, show, NULL) | 448 | __ATTR(_name, 0444, show, NULL) |
449 | 449 | ||
450 | struct cpuidle_driver_kobj { | 450 | struct cpuidle_driver_kobj { |
451 | struct cpuidle_driver *drv; | 451 | struct cpuidle_driver *drv; |