Skip to contentSkip to conversation

coresight: ctcu: Publish the OF module alias

PATCH New hpp.iscas 1 participant 1 message Sep 5

Subsystems (2)
lore
Share & tools
lore

hpp.iscas

author
#0 lore raw

PATCH 1/1 coresight: ctcu: Publish the OF module alias

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")
---
 drivers/hwtracing/coresight/coresight-ctcu-core.c | 1 +
 1 file changed, 1 insertion(+)
drivers/hwtracing/coresight/coresight-ctcu-core.c +1 -0
index 9043cad..a7caa5b 100644
@@ -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,