mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 06:02:05 +00:00
7183c37fd5
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.
This lead to:
depends on CPM2 || CPM1 || (PPC32 && CPM2 && COMPILE_TEST)
This dependency does not make sense anymore and can be simplified
removing all the COMPILE_TEST part.
Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/oe-kbuild-all/202305160221.9XgweObz-lkp@intel.com/
Fixes:
|
||
---|---|---|
.. | ||
cpm_uart_core.c | ||
cpm_uart_cpm1.c | ||
cpm_uart_cpm1.h | ||
cpm_uart_cpm2.c | ||
cpm_uart_cpm2.h | ||
cpm_uart.h | ||
Makefile |