linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] thermal: imx_thermal: add module device table
@ 2013-10-30 23:56 Russell King
  2013-10-31  8:03 ` Shawn Guo
  2013-11-04 16:09 ` Eduardo Valentin
  0 siblings, 2 replies; 8+ messages in thread
From: Russell King @ 2013-10-30 23:56 UTC (permalink / raw)
  To: linux-arm-kernel, Sascha Hauer, Shawn Guo
  Cc: Eduardo Valentin, Zhang Rui, linux-pm

Add the module device table declaration so the module can be loaded
automatically at boot time.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
---
 drivers/thermal/imx_thermal.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c
index 1d6c801c1eb9..ab31552f0360 100644
--- a/drivers/thermal/imx_thermal.c
+++ b/drivers/thermal/imx_thermal.c
@@ -539,3 +539,4 @@ MODULE_AUTHOR("Freescale Semiconductor, Inc.");
 MODULE_DESCRIPTION("Thermal driver for Freescale i.MX SoCs");
 MODULE_LICENSE("GPL v2");
 MODULE_ALIAS("platform:imx-thermal");
+MODULE_DEVICE_TABLE(of, of_imx_thermal_match);
-- 
1.7.4.4

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH] thermal: imx_thermal: add module device table
  2013-10-30 23:56 [PATCH] thermal: imx_thermal: add module device table Russell King
@ 2013-10-31  8:03 ` Shawn Guo
  2013-11-04 16:09 ` Eduardo Valentin
  1 sibling, 0 replies; 8+ messages in thread
From: Shawn Guo @ 2013-10-31  8:03 UTC (permalink / raw)
  To: Russell King
  Cc: linux-arm-kernel, Sascha Hauer, Zhang Rui, Eduardo Valentin,
	linux-pm

On Wed, Oct 30, 2013 at 11:56:03PM +0000, Russell King wrote:
> Add the module device table declaration so the module can be loaded
> automatically at boot time.
> 
> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
> ---
>  drivers/thermal/imx_thermal.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c
> index 1d6c801c1eb9..ab31552f0360 100644
> --- a/drivers/thermal/imx_thermal.c
> +++ b/drivers/thermal/imx_thermal.c
> @@ -539,3 +539,4 @@ MODULE_AUTHOR("Freescale Semiconductor, Inc.");
>  MODULE_DESCRIPTION("Thermal driver for Freescale i.MX SoCs");
>  MODULE_LICENSE("GPL v2");
>  MODULE_ALIAS("platform:imx-thermal");
> +MODULE_DEVICE_TABLE(of, of_imx_thermal_match);

Can you move it right below of_imx_thermal_match definition?  Otherwise,

Acked-by: Shawn Guo <shawn.guo@linaro.org>

> -- 
> 1.7.4.4
> 


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] thermal: imx_thermal: add module device table
  2013-10-30 23:56 [PATCH] thermal: imx_thermal: add module device table Russell King
  2013-10-31  8:03 ` Shawn Guo
@ 2013-11-04 16:09 ` Eduardo Valentin
  1 sibling, 0 replies; 8+ messages in thread
From: Eduardo Valentin @ 2013-11-04 16:09 UTC (permalink / raw)
  To: Russell King
  Cc: linux-arm-kernel, Sascha Hauer, Shawn Guo, Zhang Rui,
	Eduardo Valentin, linux-pm

[-- Attachment #1: Type: text/plain, Size: 935 bytes --]

On 30-10-2013 19:56, Russell King wrote:
> Add the module device table declaration so the module can be loaded
> automatically at boot time.
> 
> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>

> ---
>  drivers/thermal/imx_thermal.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c
> index 1d6c801c1eb9..ab31552f0360 100644
> --- a/drivers/thermal/imx_thermal.c
> +++ b/drivers/thermal/imx_thermal.c
> @@ -539,3 +539,4 @@ MODULE_AUTHOR("Freescale Semiconductor, Inc.");
>  MODULE_DESCRIPTION("Thermal driver for Freescale i.MX SoCs");
>  MODULE_LICENSE("GPL v2");
>  MODULE_ALIAS("platform:imx-thermal");
> +MODULE_DEVICE_TABLE(of, of_imx_thermal_match);
> 


-- 
You have got to be excited about what you are doing. (L. Lamport)

Eduardo Valentin


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 295 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH] thermal: imx_thermal: add module device table
@ 2013-12-16 21:50 Russell King
  2013-12-17  2:57 ` Shawn Guo
  2013-12-18 14:47 ` Eduardo Valentin
  0 siblings, 2 replies; 8+ messages in thread
From: Russell King @ 2013-12-16 21:50 UTC (permalink / raw)
  To: Shawn Guo, Sascha Hauer
  Cc: Eduardo Valentin, Zhang Rui, linux-arm-kernel, linux-pm

Add the module device table declaration so the module can be loaded
automatically at boot time.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
---
 drivers/thermal/imx_thermal.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c
index 1d6c801c1eb9..230864886775 100644
--- a/drivers/thermal/imx_thermal.c
+++ b/drivers/thermal/imx_thermal.c
@@ -522,6 +522,7 @@ static const struct of_device_id of_imx_thermal_match[] = {
 	{ .compatible = "fsl,imx6q-tempmon", },
 	{ /* end */ }
 };
+MODULE_DEVICE_TABLE(of, of_imx_thermal_match);
 
 static struct platform_driver imx_thermal = {
 	.driver = {
-- 
1.7.4.4

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH] thermal: imx_thermal: add module device table
  2013-12-16 21:50 Russell King
@ 2013-12-17  2:57 ` Shawn Guo
  2013-12-18 14:47 ` Eduardo Valentin
  1 sibling, 0 replies; 8+ messages in thread
From: Shawn Guo @ 2013-12-17  2:57 UTC (permalink / raw)
  To: Russell King
  Cc: Sascha Hauer, linux-arm-kernel, Zhang Rui, Eduardo Valentin,
	linux-pm

On Mon, Dec 16, 2013 at 09:50:04PM +0000, Russell King wrote:
> Add the module device table declaration so the module can be loaded
> automatically at boot time.
> 
> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

Acked-by: Shawn Guo <shawn.guo@linaro.org>

> ---
>  drivers/thermal/imx_thermal.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c
> index 1d6c801c1eb9..230864886775 100644
> --- a/drivers/thermal/imx_thermal.c
> +++ b/drivers/thermal/imx_thermal.c
> @@ -522,6 +522,7 @@ static const struct of_device_id of_imx_thermal_match[] = {
>  	{ .compatible = "fsl,imx6q-tempmon", },
>  	{ /* end */ }
>  };
> +MODULE_DEVICE_TABLE(of, of_imx_thermal_match);
>  
>  static struct platform_driver imx_thermal = {
>  	.driver = {
> -- 
> 1.7.4.4
> 


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] thermal: imx_thermal: add module device table
  2013-12-16 21:50 Russell King
  2013-12-17  2:57 ` Shawn Guo
@ 2013-12-18 14:47 ` Eduardo Valentin
  2013-12-19 11:10   ` Russell King - ARM Linux
  1 sibling, 1 reply; 8+ messages in thread
From: Eduardo Valentin @ 2013-12-18 14:47 UTC (permalink / raw)
  To: Russell King
  Cc: linux-pm, Eduardo Valentin, Sascha Hauer, Zhang Rui, Shawn Guo,
	linux-arm-kernel


[-- Attachment #1.1: Type: text/plain, Size: 952 bytes --]

On 16-12-2013 17:50, Russell King wrote:
> Add the module device table declaration so the module can be loaded
> automatically at boot time.
> 
> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>

> ---
>  drivers/thermal/imx_thermal.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c
> index 1d6c801c1eb9..230864886775 100644
> --- a/drivers/thermal/imx_thermal.c
> +++ b/drivers/thermal/imx_thermal.c
> @@ -522,6 +522,7 @@ static const struct of_device_id of_imx_thermal_match[] = {
>  	{ .compatible = "fsl,imx6q-tempmon", },
>  	{ /* end */ }
>  };
> +MODULE_DEVICE_TABLE(of, of_imx_thermal_match);
>  
>  static struct platform_driver imx_thermal = {
>  	.driver = {
> 


-- 
You have got to be excited about what you are doing. (L. Lamport)

Eduardo Valentin


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 295 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] thermal: imx_thermal: add module device table
  2013-12-18 14:47 ` Eduardo Valentin
@ 2013-12-19 11:10   ` Russell King - ARM Linux
  2014-01-02  2:36     ` Zhang Rui
  0 siblings, 1 reply; 8+ messages in thread
From: Russell King - ARM Linux @ 2013-12-19 11:10 UTC (permalink / raw)
  To: Eduardo Valentin
  Cc: Zhang Rui, Shawn Guo, linux-arm-kernel, Sascha Hauer, linux-pm

On Wed, Dec 18, 2013 at 10:47:35AM -0400, Eduardo Valentin wrote:
> On 16-12-2013 17:50, Russell King wrote:
> > Add the module device table declaration so the module can be loaded
> > automatically at boot time.
> > 
> > Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
> 
> Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>

As you acked this patch, I'm assuming that means you're happy for me to
push it upstream.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] thermal: imx_thermal: add module device table
  2013-12-19 11:10   ` Russell King - ARM Linux
@ 2014-01-02  2:36     ` Zhang Rui
  0 siblings, 0 replies; 8+ messages in thread
From: Zhang Rui @ 2014-01-02  2:36 UTC (permalink / raw)
  To: Russell King - ARM Linux
  Cc: Eduardo Valentin, Shawn Guo, Sascha Hauer, linux-arm-kernel,
	linux-pm

On Thu, 2013-12-19 at 11:10 +0000, Russell King - ARM Linux wrote:
> On Wed, Dec 18, 2013 at 10:47:35AM -0400, Eduardo Valentin wrote:
> > On 16-12-2013 17:50, Russell King wrote:
> > > Add the module device table declaration so the module can be loaded
> > > automatically at boot time.
> > > 
> > > Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
> > 
> > Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>
> 
applied.

thanks,
rui



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-01-02  2:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-30 23:56 [PATCH] thermal: imx_thermal: add module device table Russell King
2013-10-31  8:03 ` Shawn Guo
2013-11-04 16:09 ` Eduardo Valentin
  -- strict thread matches above, loose matches on Subject: below --
2013-12-16 21:50 Russell King
2013-12-17  2:57 ` Shawn Guo
2013-12-18 14:47 ` Eduardo Valentin
2013-12-19 11:10   ` Russell King - ARM Linux
2014-01-02  2:36     ` Zhang Rui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).