Skip to content

Commit 74fc1b1

Browse files
pdgendtfabiobaltieri
authored andcommitted
drivers: interrupt_controller: Place API into iterable section
Add wrapper DEVICE_API macro to all shared_irq_driver_api instances. Signed-off-by: Pieter De Gendt <[email protected]>
1 parent 6cfb14c commit 74fc1b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/interrupt_controller/intc_shared_irq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ static void shared_irq_isr(const struct device *dev)
130130
}
131131
}
132132

133-
static const struct shared_irq_driver_api api_funcs = {
133+
static DEVICE_API(shared_irq, api_funcs) = {
134134
.isr_register = isr_register,
135135
.enable = enable,
136136
.disable = disable,

0 commit comments

Comments
 (0)