Skip to content

Commit 32269e0

Browse files
mszyprowwilldeacon
authored andcommitted
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>
1 parent 0abe7f6 commit 32269e0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/perf/amlogic/meson_g12_ddr_pmu.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ static const struct of_device_id meson_ddr_pmu_dt_match[] = {
377377
},
378378
{}
379379
};
380+
MODULE_DEVICE_TABLE(of, meson_ddr_pmu_dt_match);
380381

381382
static struct platform_driver g12_ddr_pmu_driver = {
382383
.probe = g12_ddr_pmu_probe,

0 commit comments

Comments
 (0)