diff options
author | NĂcolas F. R. A. Prado <nfraprado@collabora.com> | 2023-01-26 10:48:56 -0500 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2023-02-06 09:31:38 +0530 |
commit | 09608d62ae5cd9559549637cccb4092d8ecad3a8 (patch) | |
tree | d9fa40a5696d6ab4f2e219794d24e10c257f554c /drivers/cpufreq | |
parent | 7214015c7f975542d227db6eaec2db2ecc88f2c1 (diff) | |
download | linux-09608d62ae5cd9559549637cccb4092d8ecad3a8.tar.gz linux-09608d62ae5cd9559549637cccb4092d8ecad3a8.tar.bz2 linux-09608d62ae5cd9559549637cccb4092d8ecad3a8.zip |
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 <nfraprado@collabora.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r-- | drivers/cpufreq/mediatek-cpufreq-hw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cpufreq/mediatek-cpufreq-hw.c b/drivers/cpufreq/mediatek-cpufreq-hw.c index f80339779084..115b0eda38c1 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, |