drivers: pcie: host: Place API into iterable section
Add wrapper DEVICE_API macro to all pcie_ctrl_driver_api instances. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
parent
6cc18fc9c1
commit
a7756f20d1
1 changed files with 1 additions and 1 deletions
|
|
@ -370,7 +370,7 @@ static uint8_t pcie_ecam_msi_device_setup(const struct device *dev, unsigned int
|
|||
}
|
||||
#endif
|
||||
|
||||
static const struct pcie_ctrl_driver_api pcie_ecam_api = {
|
||||
static DEVICE_API(pcie_ctrl, pcie_ecam_api) = {
|
||||
.conf_read = pcie_ecam_ctrl_conf_read,
|
||||
.conf_write = pcie_ecam_ctrl_conf_write,
|
||||
.region_allocate = pcie_ecam_region_allocate,
|
||||
|
|
|
|||
Loading…
Reference in a new issue