spi: mcux: update driver init priority

use the CONFIG_SPI_INIT_PRIORITY to init device driver

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
This commit is contained in:
Hake Huang 2021-08-17 16:44:08 +08:00 committed by Maureen Helm
commit cc1801440f

View file

@ -310,7 +310,7 @@ static const struct spi_driver_api spi_mcux_driver_api = {
&spi_mcux_data_##id, \
&spi_mcux_config_##id, \
POST_KERNEL, \
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \
CONFIG_SPI_INIT_PRIORITY, \
&spi_mcux_driver_api); \
static void spi_mcux_config_func_##id(const struct device *dev) \
{ \