Skip to content

Commit bc9fce1

Browse files
bogdanovscfriedt
authored andcommitted
drivers: serial: cc23x0: Replace incorrect macros
Replace CONFIG_PM with CONFIG_PM_DEVICE to include pm_lock in cc23x0 UART driver in struct uart_cc23x0_data Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
1 parent ad77e10 commit bc9fce1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/serial/uart_cc23x0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ struct uart_cc23x0_data {
8484
uint8_t *rx_next_buf;
8585
size_t rx_next_len;
8686
#endif /* CONFIG_UART_CC23X0_DMA_DRIVEN */
87-
#ifdef CONFIG_PM
87+
#ifdef CONFIG_PM_DEVICE
8888
ATOMIC_DEFINE(pm_lock, UART_CC23X0_PM_LOCK_COUNT);
8989
#endif
9090
};

0 commit comments

Comments
 (0)