driver: uart: npcx: Fix building of kernel.timer.tickless
UART CR_SIN interrupt enable/disable are invoked when CONFIG_PM enable. This removes the guard for UART CR_SIN interrupt enable/disable to fix the build issue. Fixed #36520 Signed-off-by: Wealian Liao <WHLIAO@nuvoton.com>
This commit is contained in:
parent
a6cc3f1838
commit
1cb8f7c369
1 changed files with 0 additions and 2 deletions
|
@ -548,7 +548,6 @@ NPCX_UART_IRQ_CONFIG_FUNC(inst)
|
||||||
|
|
||||||
DT_INST_FOREACH_STATUS_OKAY(NPCX_UART_INIT)
|
DT_INST_FOREACH_STATUS_OKAY(NPCX_UART_INIT)
|
||||||
|
|
||||||
#ifdef CONFIG_PM_DEVICE
|
|
||||||
#define ENABLE_MIWU_CRIN_IRQ(inst) \
|
#define ENABLE_MIWU_CRIN_IRQ(inst) \
|
||||||
npcx_miwu_irq_get_and_clear_pending(&uart_npcx_cfg_##inst.uart_rx_wui);\
|
npcx_miwu_irq_get_and_clear_pending(&uart_npcx_cfg_##inst.uart_rx_wui);\
|
||||||
npcx_miwu_irq_enable(&uart_npcx_cfg_##inst.uart_rx_wui);
|
npcx_miwu_irq_enable(&uart_npcx_cfg_##inst.uart_rx_wui);
|
||||||
|
@ -565,4 +564,3 @@ void npcx_uart_disable_access_interrupt(void)
|
||||||
{
|
{
|
||||||
DT_INST_FOREACH_STATUS_OKAY(DISABLE_MIWU_CRIN_IRQ)
|
DT_INST_FOREACH_STATUS_OKAY(DISABLE_MIWU_CRIN_IRQ)
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_PM_DEVICE */
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue