[SRU][Bionic][PATCH v3 1/6] arm: imx: Add MODULE_ALIAS for cpufreq

Shrirang Bagul shrirang.bagul at canonical.com
Mon Aug 19 12:14:02 UTC 2019

From: Nicolas Chauvet <kwizart at gmail.com>

BugLink: https://bugs.launchpad.net/bugs/1840437

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: Nicolas Chauvet <kwizart at gmail.com>
Acked-by: Viresh Kumar <viresh.kumar at linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki at intel.com>
(cherry picked from commit d0404738c687c0ecaa7d6b7c5c39e4c0dac791e6)
Signed-off-by: Shrirang Bagul <shrirang.bagul at canonical.com>
 drivers/cpufreq/imx6q-cpufreq.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/cpufreq/imx6q-cpufreq.c b/drivers/cpufreq/imx6q-cpufreq.c
index a51eda85ad35..52d63f88dae6 100644
--- a/drivers/cpufreq/imx6q-cpufreq.c
+++ b/drivers/cpufreq/imx6q-cpufreq.c
@@ -478,6 +478,7 @@ static struct platform_driver imx6q_cpufreq_platdrv = {
 MODULE_AUTHOR("Shawn Guo <shawn.guo at linaro.org>");
 MODULE_DESCRIPTION("Freescale i.MX6Q cpufreq driver");

More information about the kernel-team mailing list