Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] coresight: ctcu: Publish the OF module alias
@ 2026-09-05 13:38 hpp.iscas
  0 siblings, 0 replies; only message in thread
From: hpp.iscas @ 2026-09-05 13:38 UTC (permalink / raw)
  To: Suzuki K Poulose
  Cc: hpp.iscas, Mike Leach, James Clark, Leo Yan, Alexander Shishkin,
	coresight, linux-arm-kernel, linux-kernel, Jie Gan

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@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,



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-05 13:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-05 13:38 [PATCH] coresight: ctcu: Publish the OF module alias hpp.iscas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox