diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2023-10-12 13:35:43 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2023-10-17 14:36:12 +0300 |
commit | 32269e09b137ade1e5cb5c8a7d67db1ba9b1e4fe (patch) | |
tree | fe2e6145fe06de5ce3fc27df99d03203e9b12b6d /drivers/perf/amlogic | |
parent | 0abe7f61c28d62ee0530c31589e6ea209aa82cbd (diff) | |
download | linux-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.c | 1 |
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, |