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:
parent
c5512287a0
commit
cc1801440f
1 changed files with 1 additions and 1 deletions
|
@ -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) \
|
||||
{ \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue