Skip to content

Commit 6f3a283

Browse files
committed
Merge branch 'pm-em'
* pm-em: PM: EM: postpone creating the debugfs dir till fs_initcall
2 parents 5244f5e + fb9d62b commit 6f3a283

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/power/energy_model.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ static int __init em_debug_init(void)
9898

9999
return 0;
100100
}
101-
core_initcall(em_debug_init);
101+
fs_initcall(em_debug_init);
102102
#else /* CONFIG_DEBUG_FS */
103103
static void em_debug_create_pd(struct device *dev) {}
104104
static void em_debug_remove_pd(struct device *dev) {}

0 commit comments

Comments
 (0)