diff options
author | Jeremy Linton <jeremy.linton@arm.com> | 2018-10-12 14:24:09 -0500 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-11-21 13:16:34 +0000 |
commit | 472dc9fa7cc0769321d91b55eed4e21e2ab86632 (patch) | |
tree | 4542d89c1cff04b60521c6137cbc852c75c3b102 /drivers | |
parent | 81e9fa8bab381f8b6eb04df7cdf0f71994099bd4 (diff) | |
download | linux-472dc9fa7cc0769321d91b55eed4e21e2ab86632.tar.gz linux-472dc9fa7cc0769321d91b55eed4e21e2ab86632.tar.bz2 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')
-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) { |