From: NĂ­colas F. R. A. Prado Date: Thu, 26 Jan 2023 15:48:56 +0000 (-0500) Subject: cpufreq: mediatek-hw: Register to module device table X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=09608d62ae5cd9559549637cccb4092d8ecad3a8;p=linux.git 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 Signed-off-by: Viresh Kumar --- diff --git a/drivers/cpufreq/mediatek-cpufreq-hw.c b/drivers/cpufreq/mediatek-cpufreq-hw.c index f803397790846..115b0eda38c14 100644 --- a/drivers/cpufreq/mediatek-cpufreq-hw.c +++ b/drivers/cpufreq/mediatek-cpufreq-hw.c @@ -324,6 +324,7 @@ static const struct of_device_id mtk_cpufreq_hw_match[] = { { .compatible = "mediatek,cpufreq-hw", .data = &cpufreq_mtk_offsets }, {} }; +MODULE_DEVICE_TABLE(of, mtk_cpufreq_hw_match); static struct platform_driver mtk_cpufreq_hw_driver = { .probe = mtk_cpufreq_hw_driver_probe,