Commit 472dc9fa authored by Jeremy Linton's avatar Jeremy Linton Committed by Will Deacon
Browse files

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: default avatarSudeep Holla <sudeep.holla@arm.com>
Signed-off-by: default avatarJeremy Linton <jeremy.linton@arm.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 81e9fa8b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)
{