perf/imx_ddr: Add MODULE_DEVICE_TABLE

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

Fixes: 9a66d36cc7 ("drivers/perf: imx_ddr: Add DDR performance counter support to perf")
Acked-by: Frank Li <frank.li@nxp.com>
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Will Deacon <will@kernel.org>
This commit is contained in:
Leonard Crestez 2019-07-04 11:53:20 +03:00 committed by Will Deacon
parent ca786b8db7
commit 4b9ace9c25
1 changed files with 1 additions and 0 deletions

View File

@ -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;