|
@@ -637,14 +637,14 @@ static int __init pm_dbg_init(void)
|
|
|
|
|
|
}
|
|
|
|
|
|
- (void) debugfs_create_file("enable_off_mode", S_IRUGO | S_IWUGO, d,
|
|
|
+ (void) debugfs_create_file("enable_off_mode", S_IRUGO | S_IWUSR, d,
|
|
|
&enable_off_mode, &pm_dbg_option_fops);
|
|
|
- (void) debugfs_create_file("sleep_while_idle", S_IRUGO | S_IWUGO, d,
|
|
|
+ (void) debugfs_create_file("sleep_while_idle", S_IRUGO | S_IWUSR, d,
|
|
|
&sleep_while_idle, &pm_dbg_option_fops);
|
|
|
- (void) debugfs_create_file("wakeup_timer_seconds", S_IRUGO | S_IWUGO, d,
|
|
|
+ (void) debugfs_create_file("wakeup_timer_seconds", S_IRUGO | S_IWUSR, d,
|
|
|
&wakeup_timer_seconds, &pm_dbg_option_fops);
|
|
|
(void) debugfs_create_file("wakeup_timer_milliseconds",
|
|
|
- S_IRUGO | S_IWUGO, d, &wakeup_timer_milliseconds,
|
|
|
+ S_IRUGO | S_IWUSR, d, &wakeup_timer_milliseconds,
|
|
|
&pm_dbg_option_fops);
|
|
|
pm_dbg_init_done = 1;
|
|
|
|