Skip to content

Commit 192d43e

Browse files
hcodinagregkh
authored andcommitted
soc: fsl: cpm1: Fix TSA and QMC dependencies in case of COMPILE_TEST
In order to compile tsa.c and qmc.c, CONFIG_CPM must be set. Without this dependency, the linker fails with some missing symbols for COMPILE_TEST configurations that need QMC without enabling CPM. Signed-off-by: Herve Codina <[email protected]> Reported-by: kernel test robot <[email protected]> Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Acked-by: Randy Dunlap <[email protected]> Tested-by: Randy Dunlap <[email protected]> # build-tested Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 2474e05 commit 192d43e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/soc/fsl/qe/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ config UCC
3636
config CPM_TSA
3737
tristate "CPM TSA support"
3838
depends on OF && HAS_IOMEM
39-
depends on CPM1 || COMPILE_TEST
39+
depends on CPM1 || (CPM && COMPILE_TEST)
4040
help
4141
Freescale CPM Time Slot Assigner (TSA)
4242
controller.
@@ -47,7 +47,7 @@ config CPM_TSA
4747
config CPM_QMC
4848
tristate "CPM QMC support"
4949
depends on OF && HAS_IOMEM
50-
depends on CPM1 || (FSL_SOC && COMPILE_TEST)
50+
depends on CPM1 || (FSL_SOC && CPM && COMPILE_TEST)
5151
depends on CPM_TSA
5252
help
5353
Freescale CPM QUICC Multichannel Controller

0 commit comments

Comments
 (0)