[PATCH 2/2] cpufreq: dt: allow driver to boot automatically

Felipe Balbi balbi at ti.com
Fri May 8 12:57:30 PDT 2015


by adding the missing MODULE_ALIAS(), cpufreq-dt
can be autoloaded by udev/systemd.

Signed-off-by: Felipe Balbi <balbi at ti.com>
---
 drivers/cpufreq/cpufreq-dt.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/cpufreq/cpufreq-dt.c b/drivers/cpufreq/cpufreq-dt.c
index bab67db54b7e..528a82bf5038 100644
--- a/drivers/cpufreq/cpufreq-dt.c
+++ b/drivers/cpufreq/cpufreq-dt.c
@@ -416,6 +416,7 @@ static struct platform_driver dt_cpufreq_platdrv = {
 };
 module_platform_driver(dt_cpufreq_platdrv);
 
+MODULE_ALIAS("platform:cpufreq-dt");
 MODULE_AUTHOR("Viresh Kumar <viresh.kumar at linaro.org>");
 MODULE_AUTHOR("Shawn Guo <shawn.guo at linaro.org>");
 MODULE_DESCRIPTION("Generic cpufreq driver");
-- 
2.4.0.rc3




More information about the linux-arm-kernel mailing list