summaryrefslogtreecommitdiff
path: root/drivers/thermal/db8500_cpufreq_cooling.c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-09-03 14:10:14 +0300
committerEduardo Valentin <edubezval@gmail.com>2015-09-14 06:26:19 +0300
commit0847e26a84faa0fcb4572d7e42d0a44cab69a83d (patch)
tree9ef3bc5903d68948cca09dcd08c05e5062e1cc14 /drivers/thermal/db8500_cpufreq_cooling.c
parent64e05d8bcc837bc66cb2c6e71796c8883aa45939 (diff)
downloadlinux-0847e26a84faa0fcb4572d7e42d0a44cab69a83d.tar.xz
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/db8500_cpufreq_cooling.c')
-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 = {