drivers: interrupt_controller: Place API into iterable section
Commit e63c6cd534 introduced device API
macros to be used by driver implementations. The DEVICE_API macro
ensures the passed API instance is placed in the corresponding iterable
section to allow for runtime checks.
Add wrapper DEVICE_API macro to all its_driver_api instances.
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
parent
97095c6fc4
commit
b775c0d30e
1 changed files with 1 additions and 1 deletions
|
|
@ -655,7 +655,7 @@ static int gicv3_its_init(const struct device *dev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
struct its_driver_api gicv3_its_api = {
|
||||
DEVICE_API(its, gicv3_its_api) = {
|
||||
.alloc_intid = gicv3_its_alloc_intid,
|
||||
.setup_deviceid = gicv3_its_init_device_id,
|
||||
.map_intid = gicv3_its_map_intid,
|
||||
|
|
|
|||
Loading…
Reference in a new issue