drivers: mspi: Place API into iterable section
Add wrapper DEVICE_API macro to all mspi_driver_api instances. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
parent
bad2bee941
commit
e2cde472a7
1 changed files with 1 additions and 1 deletions
|
|
@ -1320,7 +1320,7 @@ static int mspi_ambiq_init(const struct device *controller)
|
|||
return mspi_ambiq_config(&spec);
|
||||
}
|
||||
|
||||
static struct mspi_driver_api mspi_ambiq_driver_api = {
|
||||
static DEVICE_API(mspi, mspi_ambiq_driver_api) = {
|
||||
.config = mspi_ambiq_config,
|
||||
.dev_config = mspi_ambiq_dev_config,
|
||||
.xip_config = mspi_ambiq_xip_config,
|
||||
|
|
|
|||
Loading…
Reference in a new issue