Skip to content

Commit 1f7a3eb

Browse files
committed
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 1d3c6f8. Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]>
1 parent d2a8cfc commit 1f7a3eb

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

drivers/soc/qcom/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ config QCOM_RMTFS_MEM
107107
Say y here if you intend to boot the modem remoteproc.
108108

109109
config QCOM_RPMH
110-
tristate "Qualcomm RPM-Hardened (RPMH) Communication"
110+
bool "Qualcomm RPM-Hardened (RPMH) Communication"
111111
depends on ARCH_QCOM && ARM64 || COMPILE_TEST
112112
help
113113
Support for communication with the hardened-RPM blocks in

drivers/soc/qcom/rpmh-rsc.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include <linux/iopoll.h>
1414
#include <linux/kernel.h>
1515
#include <linux/list.h>
16-
#include <linux/module.h>
1716
#include <linux/of.h>
1817
#include <linux/of_irq.h>
1918
#include <linux/of_platform.h>
@@ -1018,7 +1017,6 @@ static const struct of_device_id rpmh_drv_match[] = {
10181017
{ .compatible = "qcom,rpmh-rsc", },
10191018
{ }
10201019
};
1021-
MODULE_DEVICE_TABLE(of, rpmh_drv_match);
10221020

10231021
static struct platform_driver rpmh_driver = {
10241022
.probe = rpmh_rsc_probe,
@@ -1033,6 +1031,3 @@ static int __init rpmh_driver_init(void)
10331031
return platform_driver_register(&rpmh_driver);
10341032
}
10351033
arch_initcall(rpmh_driver_init);
1036-
1037-
MODULE_DESCRIPTION("Qualcomm Technologies, Inc. RPMh Driver");
1038-
MODULE_LICENSE("GPL v2");

0 commit comments

Comments
 (0)