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:
parent
803912b236
commit
37de0c4987
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue