cpufreq: dt: allow driver to boot automatically
authorFelipe Balbi <balbi@ti.com>
Fri, 8 May 2015 19:57:30 +0000 (14:57 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 16 Jun 2015 22:02:34 +0000 (00:02 +0200)
by adding the missing MODULE_ALIAS(), cpufreq-dt
can be autoloaded by udev/systemd.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Acked-by: Nishanth Menon <nm@ti.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq-dt.c

index bab67db54b7eb4fbed633ef0d65eece0637edcaa..528a82bf50386c52ad220b48c5c06b6db6083129 100644 (file)
@@ -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@linaro.org>");
 MODULE_AUTHOR("Shawn Guo <shawn.guo@linaro.org>");
 MODULE_DESCRIPTION("Generic cpufreq driver");