diff mbox

thermal: imx_thermal: add module device table

Message ID E1Vsg3A-0008Q1-9O@rmk-PC.arm.linux.org.uk (mailing list archive)
State Accepted, archived
Delegated to: Zhang Rui
Headers show

Commit Message

Russell King Dec. 16, 2013, 9:50 p.m. UTC
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(-)

Comments

Shawn Guo Dec. 17, 2013, 2:57 a.m. UTC | #1
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
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Eduardo Valentin Dec. 18, 2013, 2:47 p.m. UTC | #2
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 = {
>
Russell King - ARM Linux Dec. 19, 2013, 11:10 a.m. UTC | #3
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Zhang Rui Jan. 2, 2014, 2:36 a.m. UTC | #4
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


--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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 = {