aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal/imx_thermal.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2013-12-16 16:50:04 -0500
committerZhang Rui <rui.zhang@intel.com>2014-01-01 21:36:12 -0500
commitdd2686324cdc1a03686d0d53338fdf643dd680cb (patch)
tree3593b1d505ba846106cae7bf82ca97b4575a117d /drivers/thermal/imx_thermal.c
parentf67fe3c55f248678a099395c764db0a969faa55e (diff)
thermal: imx_thermal: add module device table
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> Acked-by: Eduardo Valentin <eduardo.valentin@ti.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal/imx_thermal.c')
-rw-r--r--drivers/thermal/imx_thermal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c
index 1f63c1fbcb49..77a962f1837b 100644
--- a/drivers/thermal/imx_thermal.c
+++ b/drivers/thermal/imx_thermal.c
@@ -525,6 +525,7 @@ static const struct of_device_id of_imx_thermal_match[] = {
525 { .compatible = "fsl,imx6q-tempmon", }, 525 { .compatible = "fsl,imx6q-tempmon", },
526 { /* end */ } 526 { /* end */ }
527}; 527};
528MODULE_DEVICE_TABLE(of, of_imx_thermal_match);
528 529
529static struct platform_driver imx_thermal = { 530static struct platform_driver imx_thermal = {
530 .driver = { 531 .driver = {