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 <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 0abe7f6 commit 32269e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)