Commit d0404738 authored by Nicolas Chauvet's avatar Nicolas Chauvet Committed by Rafael J. Wysocki

arm: imx: Add MODULE_ALIAS for cpufreq

Without this, the imx6q-cpufreq driver isn't loaded
automatically when built as a module

Tested on wandboard quad with a fedora 27 kernel rpm
Signed-off-by: default avatarNicolas Chauvet <kwizart@gmail.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent ffd81dcf
...@@ -504,6 +504,7 @@ static struct platform_driver imx6q_cpufreq_platdrv = { ...@@ -504,6 +504,7 @@ static struct platform_driver imx6q_cpufreq_platdrv = {
}; };
module_platform_driver(imx6q_cpufreq_platdrv); module_platform_driver(imx6q_cpufreq_platdrv);
MODULE_ALIAS("platform:imx6q-cpufreq");
MODULE_AUTHOR("Shawn Guo <shawn.guo@linaro.org>"); MODULE_AUTHOR("Shawn Guo <shawn.guo@linaro.org>");
MODULE_DESCRIPTION("Freescale i.MX6Q cpufreq driver"); MODULE_DESCRIPTION("Freescale i.MX6Q cpufreq driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment