diff options
author | Leonard Crestez <leonard.crestez@nxp.com> | 2019-07-04 10:53:20 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2019-07-31 18:15:16 +0200 |
commit | 4b9ace9c25dc5d672a548da34cebf3a39710017f (patch) | |
tree | 92e815e433077d864f5fed7b8f05dd1959fd1423 /drivers/perf | |
parent | arm64: perf: Remove unused macro (diff) | |
download | linux-4b9ace9c25dc5d672a548da34cebf3a39710017f.tar.xz linux-4b9ace9c25dc5d672a548da34cebf3a39710017f.zip |
perf/imx_ddr: Add MODULE_DEVICE_TABLE
This is required for automatic probing when driver is built as a module.
Fixes: 9a66d36cc7ac ("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>
Diffstat (limited to 'drivers/perf')
-rw-r--r-- | drivers/perf/fsl_imx8_ddr_perf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/perf/fsl_imx8_ddr_perf.c b/drivers/perf/fsl_imx8_ddr_perf.c index 63fe21600072..0e3310dbb145 100644 --- a/drivers/perf/fsl_imx8_ddr_perf.c +++ b/drivers/perf/fsl_imx8_ddr_perf.c @@ -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; |