summaryrefslogtreecommitdiff
path: root/drivers/perf/amlogic
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2023-10-12 13:35:43 +0300
committerWill Deacon <will@kernel.org>2023-10-17 14:36:12 +0300
commit32269e09b137ade1e5cb5c8a7d67db1ba9b1e4fe (patch)
treefe2e6145fe06de5ce3fc27df99d03203e9b12b6d /drivers/perf/amlogic
parent0abe7f61c28d62ee0530c31589e6ea209aa82cbd (diff)
downloadlinux-32269e09b137ade1e5cb5c8a7d67db1ba9b1e4fe.tar.xz
perf/amlogic: add missing MODULE_DEVICE_TABLE
Add missing MODULE_DEVICE_TABLE macro to let this driver to be automatically loaded as module. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://lore.kernel.org/r/20231012103543.3381326-1-m.szyprowski@samsung.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/perf/amlogic')
-rw-r--r--drivers/perf/amlogic/meson_g12_ddr_pmu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/perf/amlogic/meson_g12_ddr_pmu.c b/drivers/perf/amlogic/meson_g12_ddr_pmu.c
index 8b643888d503..15d52ab3276a 100644
--- a/drivers/perf/amlogic/meson_g12_ddr_pmu.c
+++ b/drivers/perf/amlogic/meson_g12_ddr_pmu.c
@@ -377,6 +377,7 @@ static const struct of_device_id meson_ddr_pmu_dt_match[] = {
},
{}
};
+MODULE_DEVICE_TABLE(of, meson_ddr_pmu_dt_match);
static struct platform_driver g12_ddr_pmu_driver = {
.probe = g12_ddr_pmu_probe,