From eab8a9f9ca220bddccda09770c5cbda55131eb2b Mon Sep 17 00:00:00 2001 From: Andrew Boie Date: Thu, 2 Feb 2017 12:22:41 -0800 Subject: [PATCH] xtensa_sim_console: remove deprecation warning Change-Id: I10181f6c4d90e38927c1831c93fc459d33de6fd1 Signed-off-by: Andrew Boie --- drivers/console/xtensa_sim_console.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/console/xtensa_sim_console.c b/drivers/console/xtensa_sim_console.c index 5e685787da7..159ee42d0d6 100644 --- a/drivers/console/xtensa_sim_console.c +++ b/drivers/console/xtensa_sim_console.c @@ -75,9 +75,9 @@ static int xt_sim_console_init(struct device *arg) /* UART consloe initializes after the UART device itself */ SYS_INIT(xt_sim_console_init, #if defined(CONFIG_EARLY_CONSOLE) - PRIMARY, + PRE_KERNEL_1, #else - SECONDARY, + POST_KERNEL, #endif CONFIG_XTENSA_CONSOLE_INIT_PRIORITY);