The register_console_force function was introduced to register consoles even on the presence of default consoles, replacing the CON_ENABLE flag that was forcing the same behavior. No functional changes. Signed-off-by: Marcos Paulo de Souza --- fs/pstore/platform.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c index f8b9c9c73997..9d42c0f2de9e 100644 --- a/fs/pstore/platform.c +++ b/fs/pstore/platform.c @@ -418,10 +418,10 @@ static void pstore_register_console(void) sizeof(pstore_console.name)); /* * Always initialize flags here since prior unregister_console() - * calls may have changed settings (specifically CON_ENABLED). + * calls may have changed settings. */ - pstore_console.flags = CON_PRINTBUFFER | CON_ENABLED | CON_ANYTIME; - register_console(&pstore_console); + pstore_console.flags = CON_PRINTBUFFER | CON_ANYTIME; + register_console_force(&pstore_console); } static void pstore_unregister_console(void) -- 2.52.0