serial: nxp_s32: use CONFIG_SERIAL_INIT_PRIORITY

Use CONFIG_SERIAL_INIT_PRIORITY instead of the generic device driver
init priority.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
This commit is contained in:
Manuel Arguelles 2023-08-06 12:44:54 +07:00 committed by Fabio Baltieri
commit 3112b6de1a

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2022 NXP * Copyright 2022-2023 NXP
* *
* SPDX-License-Identifier: Apache-2.0 * 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_data_##n, \
&uart_nxp_s32_config_##n, \ &uart_nxp_s32_config_##n, \
PRE_KERNEL_1, \ PRE_KERNEL_1, \
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \ CONFIG_SERIAL_INIT_PRIORITY, \
&uart_nxp_s32_driver_api); &uart_nxp_s32_driver_api);
#if DT_NODE_HAS_STATUS(UART_NXP_S32_NODE(0), okay) #if DT_NODE_HAS_STATUS(UART_NXP_S32_NODE(0), okay)