Skip to contentSkip to conversation

thermal: imx_thermal: add module device table

PATCH New Russell King 5 participants 5 messages Dec 16, 2013 – Jan 2, 2014

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..230864886775 100644
@@ -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 = {
Signature · 1 line
1.7.4.4
#1 lore raw

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

Quoted 4 lines · Russell King

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

Quoted 19 lines
---
 drivers/thermal/imx_thermal.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/thermal/imx_thermal.c +1 -0
index 1d6c801c1eb9..230864886775 100644
@@ -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 = {
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 17 lines
---
 drivers/thermal/imx_thermal.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/thermal/imx_thermal.c +1 -0
index 1d6c801c1eb9..230864886775 100644
@@ -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 = {
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/20131218/4132a3d0/attachment.sig>