Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Revert "soc: qcom: rpmh: Allow RPMH driver to be loaded as a module"

Attempting to compile rpmh-rsc.c as a module with TRACING enabled causes
a build error as no _rcuidle function is generated for tracepoints when
CONFIG_MODULE is set.

Attempts has been made, but no resolution has been agreed upon, so lets
revert this commit for now.

This reverts commit 1d3c6f86fd3f8b88c707f56d8c3f94e014b40e83.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>

+1 -6
+1 -1
drivers/soc/qcom/Kconfig
··· 107 107 Say y here if you intend to boot the modem remoteproc. 108 108 109 109 config QCOM_RPMH 110 - tristate "Qualcomm RPM-Hardened (RPMH) Communication" 110 + bool "Qualcomm RPM-Hardened (RPMH) Communication" 111 111 depends on ARCH_QCOM && ARM64 || COMPILE_TEST 112 112 help 113 113 Support for communication with the hardened-RPM blocks in
-5
drivers/soc/qcom/rpmh-rsc.c
··· 13 13 #include <linux/iopoll.h> 14 14 #include <linux/kernel.h> 15 15 #include <linux/list.h> 16 - #include <linux/module.h> 17 16 #include <linux/of.h> 18 17 #include <linux/of_irq.h> 19 18 #include <linux/of_platform.h> ··· 1017 1018 { .compatible = "qcom,rpmh-rsc", }, 1018 1019 { } 1019 1020 }; 1020 - MODULE_DEVICE_TABLE(of, rpmh_drv_match); 1021 1021 1022 1022 static struct platform_driver rpmh_driver = { 1023 1023 .probe = rpmh_rsc_probe, ··· 1031 1033 return platform_driver_register(&rpmh_driver); 1032 1034 } 1033 1035 arch_initcall(rpmh_driver_init); 1034 - 1035 - MODULE_DESCRIPTION("Qualcomm Technologies, Inc. RPMh Driver"); 1036 - MODULE_LICENSE("GPL v2");