Skip to contentSkip to conversation

thermal: imx_thermal: add module device table

PATCH New Russell King 3 participants 3 messages Oct 30, 2013 – Nov 4, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 thermal: imx_thermal: add module device table

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

---
 drivers/thermal/imx_thermal.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/thermal/imx_thermal.c +1 -0
index 1d6c801c1eb9..ab31552f0360 100644
@@ -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);
Signature · 1 line
1.7.4.4
#1 lore raw

PATCH 1/1 thermal: imx_thermal: add module device table

Quoted 13 lines · Russell King

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

---
 drivers/thermal/imx_thermal.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/thermal/imx_thermal.c +0 -0
index 1d6c801c1eb9..ab31552f0360 100644

drivers/thermal/imx_thermal.c MODULE_AUTHOR("Freescale Semiconductor, Inc."); · line 542

Quoted 4 lines
drivers/thermal/imx_thermal.c +1 -0
@@ -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,

Quoted 3 lines
Signature · 1 line
1.7.4.4
#2 lore raw

PATCH 1/1 thermal: imx_thermal: add module device table

In reply to Russell King
Quoted 4 lines · Russell King

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

Quoted 14 lines
---
 drivers/thermal/imx_thermal.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/thermal/imx_thermal.c +1 -0
index 1d6c801c1eb9..ab31552f0360 100644
@@ -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);
Signature · 11 lines
You have got to be excited about what you are doing. (L. Lamport)

Eduardo Valentin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 295 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131104/f6b14c19/attachment.sig>