Re: [PATCH 2/2] serial: cpm_uart: Fix a COMPILE_TEST dependency

2023-05-23 Thread Herve Codina
On Tue, 23 May 2023 09:52:00 +0200 Jiri Slaby wrote: > On 22. 05. 23, 10:20, Herve Codina wrote: > > In a COMPILE_TEST configuration, the cpm_uart driver uses symbols from > > the cpm_uart_cpm2.c file. This file is compiled only when CONFIG_CPM2 is > > set. > > > > Without this dependency, the l

Re: [PATCH 2/2] serial: cpm_uart: Fix a COMPILE_TEST dependency

2023-05-23 Thread Jiri Slaby
On 22. 05. 23, 10:20, Herve Codina wrote: In a COMPILE_TEST configuration, the cpm_uart driver uses symbols from the cpm_uart_cpm2.c file. This file is compiled only when CONFIG_CPM2 is set. Without this dependency, the linker fails with some missing symbols for COMPILE_TEST configuration that n

[PATCH 2/2] serial: cpm_uart: Fix a COMPILE_TEST dependency

2023-05-22 Thread Herve Codina
In a COMPILE_TEST configuration, the cpm_uart driver uses symbols from the cpm_uart_cpm2.c file. This file is compiled only when CONFIG_CPM2 is set. Without this dependency, the linker fails with some missing symbols for COMPILE_TEST configuration that needs SERIAL_CPM without enabling CPM2. Sign