[PATCH v2] coresight: dummy: add missing MODULE_DEVICE_TABLE()
From: Pengpeng Hou
Date: Mon Jul 20 2026 - 07:52:35 EST
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@xxxxxxxxxxxxxxxx>
Signed-off-by: Pengpeng Hou <pengpeng@xxxxxxxxxxx>
---
Changes since v1: https://lore.kernel.org/all/20260704121621.48544-1-pengpeng@xxxxxxxxxxx/
- 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,