Skip to content

Commit b775c0d

Browse files
pdgendtkartben
authored andcommitted
drivers: interrupt_controller: Place API into iterable section
Commit e63c6cd 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 <[email protected]>
1 parent 97095c6 commit b775c0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/interrupt_controller/intc_gicv3_its.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ static int gicv3_its_init(const struct device *dev)
655655
return 0;
656656
}
657657

658-
struct its_driver_api gicv3_its_api = {
658+
DEVICE_API(its, gicv3_its_api) = {
659659
.alloc_intid = gicv3_its_alloc_intid,
660660
.setup_deviceid = gicv3_its_init_device_id,
661661
.map_intid = gicv3_its_map_intid,

0 commit comments

Comments
 (0)