Skip to content

Commit 09608d6

Browse files
nfrapradovireshk
authored andcommitted
cpufreq: mediatek-hw: Register to module device table
Register the compatibles for this module on the module device table so it can be automatically loaded when a matching device is found on the system. Signed-off-by: Nícolas F. R. A. Prado <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
1 parent 7214015 commit 09608d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/cpufreq/mediatek-cpufreq-hw.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ static const struct of_device_id mtk_cpufreq_hw_match[] = {
324324
{ .compatible = "mediatek,cpufreq-hw", .data = &cpufreq_mtk_offsets },
325325
{}
326326
};
327+
MODULE_DEVICE_TABLE(of, mtk_cpufreq_hw_match);
327328

328329
static struct platform_driver mtk_cpufreq_hw_driver = {
329330
.probe = mtk_cpufreq_hw_driver_probe,

0 commit comments

Comments
 (0)