hwmon: (abx500) 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 <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
This commit is contained in:
Luis de Bethencourt 2015-09-17 18:09:11 +02:00 • committed by Guenter Roeck
commit 3245acbce9

View file

@ -470,6 +470,7 @@ static const struct of_device_id abx500_temp_match[] = {
{ .compatible = "stericsson,abx500-temp" },
{},
};
MODULE_DEVICE_TABLE(of, abx500_temp_match);
#endif
static struct platform_driver abx500_temp_driver = {