Loading
uart: microchip: fix build error with PM_DEVICE=n
Fix a build error when the driver is built with: CONFIG_PM=y CONFIG_PM_DEVICE=n CONFIG_UART_INTERRUPT_DRIVEN=y CONFIG_UART_CONSOLE_INPUT_EXPIRED=y due to uart_xec_pm_policy_state_lock_get() and rx_refresh_timeout_work() declared under different configuration options. Fixes: 343d1919 "uart: microchip: add low power & wake support" Signed-off-by:Fabio Baltieri <fabiobaltieri@google.com>