summaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-09-03 13:10:14 +0200
committerEduardo Valentin <edubezval@gmail.com>2015-09-14 05:26:19 +0200
commit0847e26a84faa0fcb4572d7e42d0a44cab69a83d (patch)
tree9ef3bc5903d68948cca09dcd08c05e5062e1cc14 /drivers/thermal
parentthermal: cpu_cooling: Add MAINTAINERS entry (diff)
downloadlinux-0847e26a84faa0fcb4572d7e42d0a44cab69a83d.tar.xz
linux-0847e26a84faa0fcb4572d7e42d0a44cab69a83d.zip
thermal: db8500_cpufreq_cooling: Fix module autoload for OF platform driver
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt <luis@debethencourt.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/db8500_cpufreq_cooling.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/thermal/db8500_cpufreq_cooling.c b/drivers/thermal/db8500_cpufreq_cooling.c
index 607b62c7e611..e58bd0b658b5 100644
--- a/drivers/thermal/db8500_cpufreq_cooling.c
+++ b/drivers/thermal/db8500_cpufreq_cooling.c
@@ -72,6 +72,7 @@ static const struct of_device_id db8500_cpufreq_cooling_match[] = {
{ .compatible = "stericsson,db8500-cpufreq-cooling" },
{},
};
+MODULE_DEVICE_TABLE(of, db8500_cpufreq_cooling_match);
#endif
static struct platform_driver db8500_cpufreq_cooling_driver = {