On Mon, Jul 20, 2026 at 07:45:14PM +0800, Pengpeng Hou wrote:
The CoreSight dummy driver has an OF match table wired into its platform driver, but does not export the table to module metadata. A modular build therefore lacks OF aliases for automatic loading.
Export dummy_match with MODULE_DEVICE_TABLE().
Fixes: 9d3ba0b6c056 ("Coresight: Add coresight dummy driver") Reviewed-by: Jie Gan jie.gan@oss.qualcomm.com Signed-off-by: Pengpeng Hou pengpeng@iscas.ac.cn
Reviewed-by: Leo Yan leo.yan@arm.com
Changes since v1: https://lore.kernel.org/all/20260704121621.48544-1-pengpeng@iscas.ac.cn/
- add the requested Fixes tag
- carry Jie Gan's conditional Reviewed-by after making that change
- rebase onto v7.2-rc4
drivers/hwtracing/coresight/coresight-dummy.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/hwtracing/coresight/coresight-dummy.c b/drivers/hwtracing/coresight/coresight-dummy.c index c176a2f57300..04880d38feb7 100644 --- a/drivers/hwtracing/coresight/coresight-dummy.c +++ b/drivers/hwtracing/coresight/coresight-dummy.c @@ -212,6 +212,7 @@ static const struct of_device_id dummy_match[] = { {.compatible = "arm,coresight-dummy-sink"}, {}, }; +MODULE_DEVICE_TABLE(of, dummy_match); static struct platform_driver dummy_driver = { .probe = dummy_probe,