summaryrefslogtreecommitdiff
path: root/source/hal/source/components/npu/ethosu_npu_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/hal/source/components/npu/ethosu_npu_init.c')
-rw-r--r--source/hal/source/components/npu/ethosu_npu_init.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/source/hal/source/components/npu/ethosu_npu_init.c b/source/hal/source/components/npu/ethosu_npu_init.c
index e24ddd9..701b5de 100644
--- a/source/hal/source/components/npu/ethosu_npu_init.c
+++ b/source/hal/source/components/npu/ethosu_npu_init.c
@@ -46,16 +46,6 @@ static size_t get_cache_arena_size()
}
/**
- * @brief Defines the Ethos-U interrupt handler: just a wrapper around the default
- * implementation.
- **/
-static void arm_ethosu_npu_irq_handler(void)
-{
- /* Call the default interrupt handler from the NPU driver */
- ethosu_irq_handler(&ethosu_drv);
-}
-
-/**
* @brief Initialises the NPU IRQ
**/
static void arm_ethosu_npu_irq_init(void)
@@ -73,6 +63,16 @@ static void arm_ethosu_npu_irq_init(void)
ethosu_irqnum, arm_ethosu_npu_irq_handler);
}
+/**
+ * @brief Defines the Ethos-U interrupt handler: just a wrapper around the default
+ * implementation.
+ **/
+void arm_ethosu_npu_irq_handler(void)
+{
+ /* Call the default interrupt handler from the NPU driver */
+ ethosu_irq_handler(&ethosu_drv);
+}
+
int arm_ethosu_npu_init(void)
{
int err = 0;