aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTingwei Zhang <[email protected]>2020-09-28 10:34:50 -0600
committerGreg Kroah-Hartman <[email protected]>2020-09-28 19:47:40 +0200
commit9cf087b4de237896d876df2bb2cc7fa6a8735058 (patch)
tree933d7777f0d9fee7dba16cb585841996d158497c
parent32a14ad5b157ca13561f2a1d94dd229ba5956fc0 (diff)
coresight: cpu_debug: Define MODULE_DEVICE_TABLE
Define a MODULE_DEVICE_TABLE for cpu_debug so module can be auto loaded on boot. Reviewed-by: Suzuki K Poulose <[email protected]> Signed-off-by: Tingwei Zhang <[email protected]> Signed-off-by: Mathieu Poirier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/hwtracing/coresight/coresight-cpu-debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hwtracing/coresight/coresight-cpu-debug.c b/drivers/hwtracing/coresight/coresight-cpu-debug.c
index 7e642fb3ed15..e1d232411d8d 100644
--- a/drivers/hwtracing/coresight/coresight-cpu-debug.c
+++ b/drivers/hwtracing/coresight/coresight-cpu-debug.c
@@ -665,6 +665,8 @@ static const struct amba_id debug_ids[] = {
{},
};
+MODULE_DEVICE_TABLE(amba, debug_ids);
+
static struct amba_driver debug_driver = {
.drv = {
.name = "coresight-cpu-debug",