@@ -211,11 +211,10 @@ extern struct z_shared_isr_table_entry z_shared_sw_isr_table[];
211
211
#define Z_ISR_DECLARE_C (irq , flags , func , param , counter ) \
212
212
_Z_ISR_DECLARE_C(irq, flags, func, param, counter)
213
213
214
- #define _Z_ISR_DECLARE_C (irq , flags , func , param , counter ) \
215
- _Z_ISR_TABLE_ENTRY(irq, func, param, _MK_ISR_ELEMENT_SECTION(counter)); \
216
- static Z_DECL_ALIGN(struct _isr_list_sname) Z_GENERIC_SECTION(.intList) \
217
- __used _MK_ISR_NAME(func, counter) = \
218
- {irq, flags, _MK_ISR_ELEMENT_SECTION(counter)}
214
+ #define _Z_ISR_DECLARE_C (irq , flags , func , param , counter ) \
215
+ _Z_ISR_TABLE_ENTRY(irq, func, param, _MK_ISR_ELEMENT_SECTION(counter)); \
216
+ static Z_DECL_ALIGN(struct _isr_list_sname) Z_GENERIC_SECTION(.intList) __used \
217
+ _MK_ISR_NAME(func, counter) = {irq, flags, {_MK_ISR_ELEMENT_SECTION(counter)}}
219
218
220
219
/* Create an entry for _isr_table to be then placed by the linker.
221
220
* An instance of struct _isr_list which gets put in the .intList
0 commit comments