[PATCH] coresight: ctcu: Publish the OF module alias
hpp.iscas
hppiscas at 163.com
Sat Sep 5 06:38:29 PDT 2026
The CTCU platform driver binds qcom,sa8775p-ctcu devices through
ctcu_match and can be built as a module. Its OF match table is not
published for module autoloading.
Publish the table. This leaves the TMC dependency, probe and power
management callbacks unchanged.
Fixes: f78d206f3d73 ("Coresight: Add Coresight TMC Control Unit driver")
Signed-off-by: hpp.iscas <hppiscas at 163.com>
---
drivers/hwtracing/coresight/coresight-ctcu-core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hwtracing/coresight/coresight-ctcu-core.c b/drivers/hwtracing/coresight/coresight-ctcu-core.c
index 9043cad..a7caa5b 100644
--- a/drivers/hwtracing/coresight/coresight-ctcu-core.c
+++ b/drivers/hwtracing/coresight/coresight-ctcu-core.c
@@ -295,6 +295,7 @@ static const struct of_device_id ctcu_match[] = {
{.compatible = "qcom,sa8775p-ctcu", .data = &sa8775p_cfgs},
{}
};
+MODULE_DEVICE_TABLE(of, ctcu_match);
static struct platform_driver ctcu_driver = {
.probe = ctcu_platform_probe,
More information about the linux-arm-kernel
mailing list