[PATCH] power: Enable initcall_debug/power debug

Imre Deak imre.deak at intel.com
Wed Apr 3 16:00:40 UTC 2019


Signed-off-by: Imre Deak <imre.deak at intel.com>
---
 drivers/base/power/Makefile | 2 +-
 init/main.c                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/base/power/Makefile b/drivers/base/power/Makefile
index e1bb691cf8f1..2c656ba2ce95 100644
--- a/drivers/base/power/Makefile
+++ b/drivers/base/power/Makefile
@@ -5,4 +5,4 @@ obj-$(CONFIG_PM_TRACE_RTC)	+= trace.o
 obj-$(CONFIG_PM_GENERIC_DOMAINS)	+=  domain.o domain_governor.o
 obj-$(CONFIG_HAVE_CLK)	+= clock_ops.o
 
-ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG
+ccflags-y := -DDEBUG
diff --git a/init/main.c b/init/main.c
index 598e278b46f7..cafc85d915c7 100644
--- a/init/main.c
+++ b/init/main.c
@@ -504,7 +504,7 @@ void __init __weak thread_stack_cache_init(void)
 
 void __init __weak mem_encrypt_init(void) { }
 
-bool initcall_debug;
+bool initcall_debug = true;
 core_param(initcall_debug, initcall_debug, bool, 0644);
 
 #ifdef TRACEPOINTS_ENABLED
-- 
2.13.2



More information about the Intel-gfx-trybot mailing list