drivers/interrupt_controller/intc_ite_it8xxx2: global ite_intc_isr_clear()

We need to clear interrupt status, before we enable the interrupt.
So I let ite_intc_isr_clear() to be global function.

Signed-off-by: Ruibin Chang <ruibin.chang@ite.com.tw>
This commit is contained in:
Ruibin Chang 2021-04-09 17:51:09 +08:00 committed by Anas Nashif
commit 37de0c4987
2 changed files with 2 additions and 1 deletions

View file

@ -69,7 +69,7 @@ inline void set_csr(unsigned long bit)
}
}
static void ite_intc_isr_clear(unsigned int irq)
void ite_intc_isr_clear(unsigned int irq)
{
uint32_t g, i;
volatile uint8_t *isr;