* [PATCH] arm: imx: Add MODULE_ALIAS for cpufreq
@ 2018-01-30 9:55 Nicolas Chauvet
2018-01-30 15:20 ` Viresh Kumar
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Chauvet @ 2018-01-30 9:55 UTC (permalink / raw)
To: Rafael J . Wysocki, Viresh Kumar; +Cc: linux-pm, Nicolas Chauvet
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>
---
drivers/cpufreq/imx6q-cpufreq.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/cpufreq/imx6q-cpufreq.c b/drivers/cpufreq/imx6q-cpufreq.c
index d9b2c2de49c4..cef3d46fd642 100644
--- a/drivers/cpufreq/imx6q-cpufreq.c
+++ b/drivers/cpufreq/imx6q-cpufreq.c
@@ -473,6 +473,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");
--
2.13.6
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] arm: imx: Add MODULE_ALIAS for cpufreq
2018-01-30 9:55 [PATCH] arm: imx: Add MODULE_ALIAS for cpufreq Nicolas Chauvet
@ 2018-01-30 15:20 ` Viresh Kumar
2018-02-08 10:13 ` Rafael J. Wysocki
0 siblings, 1 reply; 3+ messages in thread
From: Viresh Kumar @ 2018-01-30 15:20 UTC (permalink / raw)
To: Nicolas Chauvet; +Cc: Rafael J . Wysocki, linux-pm
On 30-01-18, 10:55, Nicolas Chauvet wrote:
> 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>
> ---
> drivers/cpufreq/imx6q-cpufreq.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/cpufreq/imx6q-cpufreq.c b/drivers/cpufreq/imx6q-cpufreq.c
> index d9b2c2de49c4..cef3d46fd642 100644
> --- a/drivers/cpufreq/imx6q-cpufreq.c
> +++ b/drivers/cpufreq/imx6q-cpufreq.c
> @@ -473,6 +473,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");
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
--
viresh
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] arm: imx: Add MODULE_ALIAS for cpufreq
2018-01-30 15:20 ` Viresh Kumar
@ 2018-02-08 10:13 ` Rafael J. Wysocki
0 siblings, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2018-02-08 10:13 UTC (permalink / raw)
To: Viresh Kumar, Nicolas Chauvet; +Cc: linux-pm
On Tuesday, January 30, 2018 4:20:08 PM CET Viresh Kumar wrote:
> On 30-01-18, 10:55, Nicolas Chauvet wrote:
> > 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>
> > ---
> > drivers/cpufreq/imx6q-cpufreq.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/cpufreq/imx6q-cpufreq.c b/drivers/cpufreq/imx6q-cpufreq.c
> > index d9b2c2de49c4..cef3d46fd642 100644
> > --- a/drivers/cpufreq/imx6q-cpufreq.c
> > +++ b/drivers/cpufreq/imx6q-cpufreq.c
> > @@ -473,6 +473,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");
>
> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
>
Patch applied, thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-02-08 10:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-30 9:55 [PATCH] arm: imx: Add MODULE_ALIAS for cpufreq Nicolas Chauvet
2018-01-30 15:20 ` Viresh Kumar
2018-02-08 10:13 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox