gpio: nxp_s32: use CONFIG_GPIO_INIT_PRIORITY
Use `CONFIG_GPIO_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:
parent
9d2c17dee2
commit
dcb570985b
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2022 NXP
|
||||
* Copyright 2022-2023 NXP
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
@ -405,7 +405,7 @@ static const struct gpio_driver_api gpio_nxp_s32_driver_api = {
|
|||
&gpio_nxp_s32_data_##n, \
|
||||
&gpio_nxp_s32_config_##n, \
|
||||
POST_KERNEL, \
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, \
|
||||
CONFIG_GPIO_INIT_PRIORITY, \
|
||||
&gpio_nxp_s32_driver_api);
|
||||
|
||||
DT_INST_FOREACH_STATUS_OKAY(GPIO_NXP_S32_DEVICE_INIT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue