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>
This commit is contained in:
Luis de Bethencourt 2015-09-03 13:10:14 +02:00 committed by Eduardo Valentin
parent 64e05d8bcc
commit 0847e26a84
1 changed files with 1 additions and 0 deletions

View File

@ -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 = {