summaryrefslogtreecommitdiff
path: root/core/nds32/irq_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/nds32/irq_handler.h')
-rw-r--r--core/nds32/irq_handler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/nds32/irq_handler.h b/core/nds32/irq_handler.h
index b37b7927ef..eb55d9e233 100644
--- a/core/nds32/irq_handler.h
+++ b/core/nds32/irq_handler.h
@@ -16,6 +16,7 @@
* ensure it is enabled in the interrupt controller with the right priority.
*/
#define DECLARE_IRQ(irq, routine, priority) \
+ void routine(void); \
void IRQ_HANDLER(CPU_INT(irq))(void) \
__attribute__ ((alias(STRINGIFY(routine)))); \
const struct irq_priority __keep IRQ_PRIORITY(CPU_INT(irq)) \