Skip to content
Snippets Groups Projects
Commit 6f3a283c authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

Merge branch 'pm-em'

* pm-em:
  PM: EM: postpone creating the debugfs dir till fs_initcall
parents 5244f5e2 fb9d62b2
No related branches found
No related tags found
No related merge requests found
...@@ -98,7 +98,7 @@ static int __init em_debug_init(void) ...@@ -98,7 +98,7 @@ static int __init em_debug_init(void)
return 0; return 0;
} }
core_initcall(em_debug_init); fs_initcall(em_debug_init);
#else /* CONFIG_DEBUG_FS */ #else /* CONFIG_DEBUG_FS */
static void em_debug_create_pd(struct device *dev) {} static void em_debug_create_pd(struct device *dev) {}
static void em_debug_remove_pd(struct device *dev) {} static void em_debug_remove_pd(struct device *dev) {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment