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:
parent
64e05d8bcc
commit
0847e26a84
|
@ -72,6 +72,7 @@ static const struct of_device_id db8500_cpufreq_cooling_match[] = {
|
||||||
{ .compatible = "stericsson,db8500-cpufreq-cooling" },
|
{ .compatible = "stericsson,db8500-cpufreq-cooling" },
|
||||||
{},
|
{},
|
||||||
};
|
};
|
||||||
|
MODULE_DEVICE_TABLE(of, db8500_cpufreq_cooling_match);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static struct platform_driver db8500_cpufreq_cooling_driver = {
|
static struct platform_driver db8500_cpufreq_cooling_driver = {
|
||||||
|
|
Loading…
Reference in New Issue