Commit dd2686324cdc1a03686d0d53338fdf643dd680cb

Authored by Russell King
Committed by Zhang Rui
1 parent f67fe3c55f

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/thermal/imx_thermal.c
... ... @@ -525,6 +525,7 @@
525 525 { .compatible = "fsl,imx6q-tempmon", },
526 526 { /* end */ }
527 527 };
  528 +MODULE_DEVICE_TABLE(of, of_imx_thermal_match);
528 529  
529 530 static struct platform_driver imx_thermal = {
530 531 .driver = {