Browse Source

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>
pull/82453/head
Pieter De Gendt 7 months ago committed by Fabio Baltieri
parent
commit
1a0c852e0d
  1. 2
      drivers/interrupt_controller/intc_intel_vtd.c

2
drivers/interrupt_controller/intc_intel_vtd.c

@ -523,7 +523,7 @@ out: @@ -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…
Cancel
Save