[PATCH] fixup! console: add new CONSOLE_ACTIVATE_ALL_FALLBACK option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



console: fix CONSOLE_ACTIVATE_ALL_FALLBACK initcall enablement

This used to be enabled unconditionally and when the #ifdef was added,
it checked a never-defined symbol. Add the CONFIG_ prefix to fix this.

Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
---
 common/console.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/console.c b/common/console.c
index 310959eeb8b4..136ed3b59803 100644
--- a/common/console.c
+++ b/common/console.c
@@ -480,7 +480,7 @@ static __maybe_unused int console_activate_all_fallback(void)
 
 	return 0;
 }
-#ifdef CONSOLE_ACTIVATE_ALL_FALLBACK
+#ifdef CONFIG_CONSOLE_ACTIVATE_ALL_FALLBACK
 postenvironment_initcall(console_activate_all_fallback);
 #endif
 
-- 
2.39.2





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux