[PATCH] fixup! console: add new CONSOLE_ACTIVATE_ALL_FALLBACK option
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon Aug 5 09:28:09 PDT 2024
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 at pengutronix.de>
---
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
More information about the barebox
mailing list