Skip to content

Commit 8f92fe1

Browse files
paligregkh
authored andcommitted
cpufreq: loongson1: Add missing MODULE_ALIAS
[ Upstream commit b9acab0 ] 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: a0a22cf ("cpufreq: Loongson1: Add cpufreq driver for Loongson1B") Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 60b5171 commit 8f92fe1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/cpufreq/loongson1-cpufreq.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ static struct platform_driver ls1x_cpufreq_platdrv = {
216216

217217
module_platform_driver(ls1x_cpufreq_platdrv);
218218

219+
MODULE_ALIAS("platform:ls1x-cpufreq");
219220
MODULE_AUTHOR("Kelvin Cheung <keguang.zhang@gmail.com>");
220221
MODULE_DESCRIPTION("Loongson1 CPUFreq driver");
221222
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)