coresight: ctcu: Publish the OF module alias
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")
Signed-off-by hpp.iscas <[email protected]>
--- drivers/hwtracing/coresight/coresight-ctcu-core.c | 1 + 1 file changed, 1 insertion(+)
drivers/hwtracing/coresight/coresight-ctcu-core.c +1 -0
@@ -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,