diff options
| author | Tingwei Zhang <[email protected]> | 2020-09-28 16:34:50 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-09-28 17:47:40 +0000 |
| commit | 9cf087b4de237896d876df2bb2cc7fa6a8735058 (patch) | |
| tree | 933d7777f0d9fee7dba16cb585841996d158497c /drivers/hwtracing/coresight/coresight-cpu-debug.c | |
| parent | coresight: cpu_debug: Add module name in Kconfig (diff) | |
| download | kernel-9cf087b4de237896d876df2bb2cc7fa6a8735058.tar.gz kernel-9cf087b4de237896d876df2bb2cc7fa6a8735058.zip | |
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]>
Diffstat (limited to 'drivers/hwtracing/coresight/coresight-cpu-debug.c')
| -rw-r--r-- | drivers/hwtracing/coresight/coresight-cpu-debug.c | 2 |
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", |
