Skip to content

Commit

Permalink
coresight: cpu_debug: Define MODULE_DEVICE_TABLE
Browse files Browse the repository at this point in the history
Define a MODULE_DEVICE_TABLE for cpu_debug so module can
be auto loaded on boot.

Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Tingwei Zhang <tingwei@codeaurora.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20200928163513.70169-3-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Tingwei Zhang authored and Greg Kroah-Hartman committed Sep 28, 2020
1 parent 32a14ad commit 9cf087b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/hwtracing/coresight/coresight-cpu-debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 9cf087b

Please sign in to comment.