Message ID | 20180130095526.9478-1-kwizart@gmail.com (mailing list archive) |
---|---|
State | Mainlined |
Delegated to: | Rafael Wysocki |
Headers | show |
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>
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!
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");
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(+)