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

Nishanth Menon nm at ti.com
Fri May 8 13:16:35 PDT 2015


On 05/08/2015 02:57 PM, Felipe Balbi wrote:
> 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");
> 

This patch does not depend on patch #1 of the series.

other than that..

Acked-by: Nishanth Menon <nm at ti.com>

-- 
Regards,
Nishanth Menon



More information about the linux-arm-kernel mailing list