From 3112b6de1aa9feb2f069f15c915052895b173ec9 Mon Sep 17 00:00:00 2001 From: Manuel Arguelles Date: Sun, 6 Aug 2023 12:44:54 +0700 Subject: [PATCH] serial: nxp_s32: use CONFIG_SERIAL_INIT_PRIORITY MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use CONFIG_SERIAL_INIT_PRIORITY instead of the generic device driver init priority. Signed-off-by: Manuel Argüelles --- drivers/serial/uart_nxp_s32_linflexd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/serial/uart_nxp_s32_linflexd.c b/drivers/serial/uart_nxp_s32_linflexd.c index 311b586a516..fe1c6c51f86 100644 --- a/drivers/serial/uart_nxp_s32_linflexd.c +++ b/drivers/serial/uart_nxp_s32_linflexd.c @@ -1,5 +1,5 @@ /* - * Copyright 2022 NXP + * Copyright 2022-2023 NXP * * SPDX-License-Identifier: Apache-2.0 */ @@ -372,7 +372,7 @@ static const struct uart_driver_api uart_nxp_s32_driver_api = { &uart_nxp_s32_data_##n, \ &uart_nxp_s32_config_##n, \ PRE_KERNEL_1, \ - CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \ + CONFIG_SERIAL_INIT_PRIORITY, \ &uart_nxp_s32_driver_api); #if DT_NODE_HAS_STATUS(UART_NXP_S32_NODE(0), okay)