drivers: spi: spi_test: use the subsystem common init priority
Use CONFIG_SPI_INIT_PRIORITY like all other SPI drivers for initializing the test driver. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
parent
b5bfe0a264
commit
dce9f06265
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ static const struct spi_driver_api vnd_spi_api = {
|
|||
|
||||
#define VND_SPI_INIT(n) \
|
||||
DEVICE_DT_INST_DEFINE(n, NULL, NULL, NULL, NULL, POST_KERNEL, \
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \
|
||||
CONFIG_SPI_INIT_PRIORITY, \
|
||||
&vnd_spi_api);
|
||||
|
||||
DT_INST_FOREACH_STATUS_OKAY(VND_SPI_INIT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue