mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-12 00:58:49 +00:00
When CONFIG_COMPILE_TEST is set, it is possible to build some
of the interconnect drivers into the kernel while their dependencies
are loadable modules, which is bad:
arm-linux-gnueabi-ld: drivers/interconnect/qcom/bcm-voter.o: in function `qcom_icc_bcm_voter_commit':
(.text+0x1f8): undefined reference to `rpmh_invalidate'
arm-linux-gnueabi-ld: (.text+0x20c): undefined reference to `rpmh_write_batch'
arm-linux-gnueabi-ld: (.text+0x2b0): undefined reference to `rpmh_write_batch'
arm-linux-gnueabi-ld: (.text+0x2e8): undefined reference to `rpmh_write_batch'
arm-linux-gnueabi-ld: drivers/interconnect/qcom/icc-rpmh.o: in function `qcom_icc_bcm_init':
(.text+0x2ac): undefined reference to `cmd_db_read_addr'
arm-linux-gnueabi-ld: (.text+0x2c8): undefined reference to `cmd_db_read_aux_data'
The exact dependencies are a bit complicated, so split them out into a
hidden Kconfig symbol that all drivers can in turn depend on to get it
right.
Fixes:
|
||
|---|---|---|
| .. | ||
| bcm-voter.c | ||
| bcm-voter.h | ||
| icc-rpmh.c | ||
| icc-rpmh.h | ||
| Kconfig | ||
| Makefile | ||
| msm8916.c | ||
| msm8974.c | ||
| osm-l3.c | ||
| qcs404.c | ||
| sc7180.c | ||
| sc7180.h | ||
| sdm845.c | ||
| sdm845.h | ||
| sm8150.c | ||
| sm8150.h | ||
| sm8250.c | ||
| sm8250.h | ||
| smd-rpm.c | ||
| smd-rpm.h | ||