perf/imx_ddr: Add MODULE_DEVICE_TABLE
authorLeonard Crestez <leonard.crestez@nxp.com>
Thu, 4 Jul 2019 08:53:20 +0000 (11:53 +0300)
committerWill Deacon <will@kernel.org>
Wed, 31 Jul 2019 16:15:16 +0000 (17:15 +0100)
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>
drivers/perf/fsl_imx8_ddr_perf.c

index 63fe216..0e3310d 100644 (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;