diff options
author | Leonard Crestez <leonard.crestez@nxp.com> | 2019-07-04 11:53:20 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2019-07-31 17:15:16 +0100 |
commit | 4b9ace9c25dc5d672a548da34cebf3a39710017f (patch) | |
tree | 92e815e433077d864f5fed7b8f05dd1959fd1423 /drivers/perf | |
parent | ca786b8db751c0dd980fccf2d65acb77a296f629 (diff) | |
download | linux-4b9ace9c25dc5d672a548da34cebf3a39710017f.tar.bz2 |
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; |