diff options
| author | 2026-09-25 18:44:47 +0100 | |
|---|---|---|
| committer | 2026-09-25 18:44:47 +0100 | |
| commit | 9048d2416b0923e88c07db585fd47034c6b95dad (patch) | |
| tree | 0e67e482ea6dad8d47bbe40f8ca06e343fb08301 /scripts/Makefile.thinlto | |
| parent | regulator: core: Fix coupled regulators reference leak on removal (diff) | |
| parent | regulator: core: Export helpers used by regulator couplers (diff) | |
regulator: Allow mtk-regulator-coupler to be built as a module
Justin Yeh <justin.yeh@mediatek.com> says:
MTK_REGULATOR_COUPLER can currently only be built into the kernel: it is
a bool, and its prompt is hidden unless COMPILE_TEST is set, so on real
MediaTek configurations the symbol has no prompt and is forced to its
"default ARCH_MEDIATEK" value.
Kernels that ship nearly everything as a module (Android GKI style
kernels, but distro kernels have the same shape) cannot use it that way.
Two things are in the way:
- the four helpers the coupler calls are declared in
include/linux/regulator/coupler.h for coupler implementations to
use, but none of them is exported (patch 1);
- the Kconfig symbol is a bool without a usable prompt (patch 2).
Link: https://patch.msgid.link/20260903062056.1024263-1-justin.yeh@mediatek.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
