drivers: interrupt_controller: Place API into iterable section
Add wrapper DEVICE_API macro to all vtd_driver_api instances. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
parent
ec205e77e5
commit
1a0c852e0d
1 changed files with 1 additions and 1 deletions
|
@ -523,7 +523,7 @@ out:
|
|||
return ret;
|
||||
}
|
||||
|
||||
static const struct vtd_driver_api vtd_api = {
|
||||
static DEVICE_API(vtd, vtd_api) = {
|
||||
.allocate_entries = vtd_ictl_allocate_entries,
|
||||
.remap_msi = vtd_ictl_remap_msi,
|
||||
.remap = vtd_ictl_remap,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue