diff mbox

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

Message ID 1431115050-23693-2-git-send-email-balbi@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Felipe Balbi May 8, 2015, 7:57 p.m. UTC
by adding the missing MODULE_ALIAS(), cpufreq-dt
can be autoloaded by udev/systemd.

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

Comments

Nishanth Menon May 8, 2015, 8:16 p.m. UTC | #1
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@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@linaro.org>");
>  MODULE_AUTHOR("Shawn Guo <shawn.guo@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@ti.com>
Viresh Kumar May 9, 2015, 2:29 a.m. UTC | #2
On 9 May 2015 at 01:27, Felipe Balbi <balbi@ti.com> wrote:
> by adding the missing MODULE_ALIAS(), cpufreq-dt
> can be autoloaded by udev/systemd.
>
> Signed-off-by: Felipe Balbi <balbi@ti.com>
> ---
>  drivers/cpufreq/cpufreq-dt.c | 1 +
>  1 file changed, 1 insertion(+)

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Felipe Balbi June 16, 2015, 9:40 p.m. UTC | #3
On Fri, May 08, 2015 at 02:57:30PM -0500, Felipe Balbi wrote:
> by adding the missing MODULE_ALIAS(), cpufreq-dt
> can be autoloaded by udev/systemd.
> 
> Signed-off-by: Felipe Balbi <balbi@ti.com>

looks like this wasn't applied anywhere. Viresh, can you apply this
patch please ?

> ---
>  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@linaro.org>");
>  MODULE_AUTHOR("Shawn Guo <shawn.guo@linaro.org>");
>  MODULE_DESCRIPTION("Generic cpufreq driver");
> -- 
> 2.4.0.rc3
>
Rafael J. Wysocki June 16, 2015, 10:04 p.m. UTC | #4
On Tue, Jun 16, 2015 at 11:40 PM, Felipe Balbi <balbi@ti.com> wrote:
> On Fri, May 08, 2015 at 02:57:30PM -0500, Felipe Balbi wrote:
>> by adding the missing MODULE_ALIAS(), cpufreq-dt
>> can be autoloaded by udev/systemd.
>>
>> Signed-off-by: Felipe Balbi <balbi@ti.com>
>
> looks like this wasn't applied anywhere. Viresh, can you apply this
> patch please ?

I've overlooked it, sorry about that.  Applied now, thanks!


>> ---
>>  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@linaro.org>");
>>  MODULE_AUTHOR("Shawn Guo <shawn.guo@linaro.org>");
>>  MODULE_DESCRIPTION("Generic cpufreq driver");
>> --
>> 2.4.0.rc3
>>
>
> --
> balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Felipe Balbi June 16, 2015, 10:08 p.m. UTC | #5
On Wed, Jun 17, 2015 at 12:04:07AM +0200, Rafael J. Wysocki wrote:
> On Tue, Jun 16, 2015 at 11:40 PM, Felipe Balbi <balbi@ti.com> wrote:
> > On Fri, May 08, 2015 at 02:57:30PM -0500, Felipe Balbi wrote:
> >> by adding the missing MODULE_ALIAS(), cpufreq-dt
> >> can be autoloaded by udev/systemd.
> >>
> >> Signed-off-by: Felipe Balbi <balbi@ti.com>
> >
> > looks like this wasn't applied anywhere. Viresh, can you apply this
> > patch please ?
> 
> I've overlooked it, sorry about that.  Applied now, thanks!

Thanks Rafael.
diff mbox

Patch

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