summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/db8500_cpufreq_cooling.c
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-13 20:26:19 -0700
commit0847e26a84faa0fcb4572d7e42d0a44cab69a83d (patch)
tree9ef3bc5903d68948cca09dcd08c05e5062e1cc14 /drivers/thermal/db8500_cpufreq_cooling.c
parent64e05d8bcc837bc66cb2c6e71796c8883aa45939 (diff)
downloadop-kernel-dev-0847e26a84faa0fcb4572d7e42d0a44cab69a83d.zip
op-kernel-dev-0847e26a84faa0fcb4572d7e42d0a44cab69a83d.tar.gz
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 607b62c..e58bd0b 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 = {
OpenPOWER on IntegriCloud