summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorNicolas Chauvet <kwizart@gmail.com>2018-01-30 10:55:26 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-02-08 10:21:39 +0100
commitd0404738c687c0ecaa7d6b7c5c39e4c0dac791e6 (patch)
treef6177ca15f78b603a5b539a2ddfabe11c6606f01 /drivers/cpufreq
parentffd81dcfef85a33729f90e4acd2f61a68e56b993 (diff)
downloadlinux-d0404738c687c0ecaa7d6b7c5c39e4c0dac791e6.tar.gz
linux-d0404738c687c0ecaa7d6b7c5c39e4c0dac791e6.tar.bz2
linux-d0404738c687c0ecaa7d6b7c5c39e4c0dac791e6.zip
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: Nicolas Chauvet <kwizart@gmail.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r--drivers/cpufreq/imx6q-cpufreq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cpufreq/imx6q-cpufreq.c b/drivers/cpufreq/imx6q-cpufreq.c
index 741f22e5cee3..ff67859948b3 100644
--- a/drivers/cpufreq/imx6q-cpufreq.c
+++ b/drivers/cpufreq/imx6q-cpufreq.c
@@ -504,6 +504,7 @@ static struct 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_DESCRIPTION("Freescale i.MX6Q cpufreq driver");
MODULE_LICENSE("GPL");