aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-region.c
diff options
context:
space:
mode:
authorHerve Codina <[email protected]>2023-05-23 08:59:02 +0000
committerGreg Kroah-Hartman <[email protected]>2023-05-30 11:25:47 +0000
commit7183c37fd53eee1e795206e625da12a5d7ec1e1a (patch)
tree7f9cc9a353896bb8dba793810c56a0cd8dd9bb72 /drivers/fpga/fpga-region.c
parentsoc: fsl: cpm1: Fix TSA and QMC dependencies in case of COMPILE_TEST (diff)
downloadkernel-7183c37fd53eee1e795206e625da12a5d7ec1e1a.tar.gz
kernel-7183c37fd53eee1e795206e625da12a5d7ec1e1a.zip
serial: cpm_uart: Fix a COMPILE_TEST dependency
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 <[email protected]> Reported-by: kernel test robot <[email protected]> Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Fixes: e3e7b13bffae ("serial: allow COMPILE_TEST for some drivers") Cc: stable <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions