diff options
author | Pali Rohár <pali@kernel.org> | 2020-11-03 16:11:37 +0100 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2020-12-07 13:02:37 +0530 |
commit | b9acab091842ca8b288882798bb809f7abf5408a (patch) | |
tree | 147df1fe91d2a2e050deae2c8ed0178427bf1733 /drivers/cpufreq/loongson1-cpufreq.c | |
parent | af2096f285077e3339eb835ad06c50bdd59f01b5 (diff) | |
download | linux-b9acab091842ca8b288882798bb809f7abf5408a.tar.bz2 |
cpufreq: loongson1: Add missing MODULE_ALIAS
This patch adds missing MODULE_ALIAS for automatic loading of this cpufreq
driver when it is compiled as an external module.
Signed-off-by: Pali Rohár <pali@kernel.org>
Fixes: a0a22cf14472f ("cpufreq: Loongson1: Add cpufreq driver for Loongson1B")
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/loongson1-cpufreq.c')
-rw-r--r-- | drivers/cpufreq/loongson1-cpufreq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cpufreq/loongson1-cpufreq.c b/drivers/cpufreq/loongson1-cpufreq.c index 0ea88778882a..86f612593e49 100644 --- a/drivers/cpufreq/loongson1-cpufreq.c +++ b/drivers/cpufreq/loongson1-cpufreq.c @@ -216,6 +216,7 @@ static struct platform_driver ls1x_cpufreq_platdrv = { module_platform_driver(ls1x_cpufreq_platdrv); +MODULE_ALIAS("platform:ls1x-cpufreq"); MODULE_AUTHOR("Kelvin Cheung <keguang.zhang@gmail.com>"); MODULE_DESCRIPTION("Loongson1 CPUFreq driver"); MODULE_LICENSE("GPL"); |