diff options
| author | Jude Gyimah <jude.gyimah87@gmail.com> | 2026-11-03 14:25:35 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-11-03 23:26:12 +0000 |
| commit | 420c7918a61b97b8cd99e402e7e5a857edb097ee (patch) | |
| tree | e0c3ff227f2aeefb9febe9f39f926c64e469a2e0 /include/linux/timerqueue.h | |
| parent | b8284f2b73f8de157be52b48d9968645f4ad6f7c (diff) | |
ASoC: rockchip_pdm: select REGMAP_MMIO
rockchip_pdm calls __devm_regmap_init_mmio_clk, which
drivers/base/regmap/regmap-mmio.c provides under REGMAP_MMIO.
rockchip_pdm.c:(.text+0xef4): undefined reference to
`__devm_regmap_init_mmio_clk'
The driver can be built into vmlinux while REGMAP_MMIO is a module, in
which case the symbol is not there at link time.
Select rather than depend on: REGMAP_MMIO has no prompt of its own and is
only ever enabled by a select, so a depends on would leave
SND_SOC_ROCKCHIP_PDM unselectable.
Reproduced on v7.3, x86_64, with CONFIG_SND_SOC_ROCKCHIP_PDM=y and
CONFIG_REGMAP_MMIO=m.
Found with kreach, a static check that compares what Kconfig allows
against the symbols the compiled objects actually reference.
Fixes: fc05a5b22253 ("ASoC: rockchip: add support for pdm controller")
Signed-off-by: Jude Gyimah <jude.gyimah87@gmail.com>
Link: https://patch.msgid.link/20261103132537.3717496-4-jude.gyimah87@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
