projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2474e05
)
soc: fsl: cpm1: Fix TSA and QMC dependencies in case of COMPILE_TEST
author
Herve Codina
<herve.codina@bootlin.com>
Tue, 23 May 2023 08:59:01 +0000
(10:59 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 30 May 2023 11:25:25 +0000
(12:25 +0100)
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 <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/
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Link:
https://lore.kernel.org/r/20230523085902.75837-2-herve.codina@bootlin.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/soc/fsl/qe/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/soc/fsl/qe/Kconfig
b/drivers/soc/fsl/qe/Kconfig
index 7268c2fbcbc1d80b7b72b45ae4668584016f92c8..e0d096607fefbaf4f9ee93921046ec675a9af05f 100644
(file)
--- a/
drivers/soc/fsl/qe/Kconfig
+++ b/
drivers/soc/fsl/qe/Kconfig
@@
-36,7
+36,7
@@
config UCC
config CPM_TSA
tristate "CPM TSA support"
depends on OF && HAS_IOMEM
- depends on CPM1 ||
COMPILE_TEST
+ depends on CPM1 ||
(CPM && COMPILE_TEST)
help
Freescale CPM Time Slot Assigner (TSA)
controller.
@@
-47,7
+47,7
@@
config CPM_TSA
config CPM_QMC
tristate "CPM QMC support"
depends on OF && HAS_IOMEM
- depends on CPM1 || (FSL_SOC && COMPILE_TEST)
+ depends on CPM1 || (FSL_SOC && C
PM && C
OMPILE_TEST)
depends on CPM_TSA
help
Freescale CPM QUICC Multichannel Controller