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
* [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

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).