summaryrefslogtreecommitdiff
path: root/chip/mt_scp/mt8183/ipi.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/mt_scp/mt8183/ipi.c')
-rw-r--r--chip/mt_scp/mt8183/ipi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/mt_scp/mt8183/ipi.c b/chip/mt_scp/mt8183/ipi.c
index e6a79fca9a..8e13781db3 100644
--- a/chip/mt_scp/mt8183/ipi.c
+++ b/chip/mt_scp/mt8183/ipi.c
@@ -381,6 +381,7 @@ static void ipi_init(void)
}
DECLARE_HOOK(HOOK_INIT, ipi_init, HOOK_PRIO_DEFAULT);
+DECLARE_IRQ(SCP_IRQ_IPC0, ipc_handler, 4);
void ipc_handler(void)
{
/* TODO(b/117917141): We only support IPC_ID(0) for now. */
@@ -391,4 +392,3 @@ void ipc_handler(void)
SCP_GIPC_IN &= (SCP_GPIC_IN_CLEAR_ALL & ~SCP_GIPC_IN_CLEAR_IPCN(0));
}
-DECLARE_IRQ(SCP_IRQ_IPC0, ipc_handler, 4);