提交 dd268632 编写于 作者: R Russell King 提交者: Zhang Rui

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: NRussell King <rmk+kernel@arm.linux.org.uk>
Acked-by: NShawn Guo <shawn.guo@linaro.org>
Acked-by: NEduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: NZhang Rui <rui.zhang@intel.com>
上级 f67fe3c5
...@@ -525,6 +525,7 @@ static const struct of_device_id of_imx_thermal_match[] = { ...@@ -525,6 +525,7 @@ static const struct of_device_id of_imx_thermal_match[] = {
{ .compatible = "fsl,imx6q-tempmon", }, { .compatible = "fsl,imx6q-tempmon", },
{ /* end */ } { /* end */ }
}; };
MODULE_DEVICE_TABLE(of, of_imx_thermal_match);
static struct platform_driver imx_thermal = { static struct platform_driver imx_thermal = {
.driver = { .driver = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册