mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-11 23:03:55 +08:00
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>
This commit is contained in:
parent
81e9fa8bab
commit
472dc9fa7c
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user