Commit 4b9ace9c authored by Leonard Crestez's avatar Leonard Crestez Committed by Will Deacon
Browse files

perf/imx_ddr: Add MODULE_DEVICE_TABLE



This is required for automatic probing when driver is built as a module.

Fixes: 9a66d36c ("drivers/perf: imx_ddr: Add DDR performance counter support to perf")
Acked-by: default avatarFrank Li <frank.li@nxp.com>
Signed-off-by: default avatarLeonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent ca786b8d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -47,6 +47,7 @@ static const struct of_device_id imx_ddr_pmu_dt_ids[] = {
	{ .compatible = "fsl,imx8m-ddr-pmu",},
	{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, imx_ddr_pmu_dt_ids);

struct ddr_pmu {
	struct pmu pmu;