OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f67fe3c
)
thermal: imx_thermal: add module device table
author
Russell King
<rmk+kernel@arm.linux.org.uk>
Mon, 16 Dec 2013 21:50:04 +0000
(21:50 +0000)
committer
Zhang Rui
<rui.zhang@intel.com>
Thu, 2 Jan 2014 02:36:12 +0000
(10:36 +0800)
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>
drivers/thermal/imx_thermal.c
patch
|
blob
|
history
diff --git
a/drivers/thermal/imx_thermal.c
b/drivers/thermal/imx_thermal.c
index
1f63c1f
..
77a962f
100644
(file)
--- 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[] = {
{ .compatible = "fsl,imx6q-tempmon", },
{ /* end */ }
};
+MODULE_DEVICE_TABLE(of, of_imx_thermal_match);
static struct platform_driver imx_thermal = {
.driver = {