diff options
author | Jeremy Linton <jeremy.linton@arm.com> | 2018-10-12 21:24:09 +0200 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-11-21 14:16:34 +0100 |
commit | 472dc9fa7cc0769321d91b55eed4e21e2ab86632 (patch) | |
tree | 4542d89c1cff04b60521c6137cbc852c75c3b102 /drivers/perf/arm_spe_pmu.c | |
parent | arm64: perf: set suppress_bind_attrs flag to true (diff) | |
download | linux-472dc9fa7cc0769321d91b55eed4e21e2ab86632.tar.xz linux-472dc9fa7cc0769321d91b55eed4e21e2ab86632.zip |
perf: arm_spe: Enable automatic DT loading
When built as a module, the spe driver isn't automatically
loaded on DT systems. Add the MODULE_DEVICE_TABLE entry.
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/perf/arm_spe_pmu.c')
-rw-r--r-- | drivers/perf/arm_spe_pmu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/perf/arm_spe_pmu.c b/drivers/perf/arm_spe_pmu.c index 54ec278d2fc4..18d61077b157 100644 --- a/drivers/perf/arm_spe_pmu.c +++ b/drivers/perf/arm_spe_pmu.c @@ -1169,6 +1169,7 @@ static const struct of_device_id arm_spe_pmu_of_match[] = { { .compatible = "arm,statistical-profiling-extension-v1", .data = (void *)1 }, { /* Sentinel */ }, }; +MODULE_DEVICE_TABLE(of, arm_spe_pmu_of_match); static int arm_spe_pmu_device_dt_probe(struct platform_device *pdev) { |