[PATCH] coresight: ctcu: Publish the OF module alias
From: hpp.iscas
Date: Sat Sep 05 2026 - 09:45:40 EST
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@xxxxxxx>
---
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,