diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-09-17 18:09:11 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2015-09-20 17:50:19 -0700 |
commit | 3245acbce952cda75b2fafa8e40452ef0c4756c1 (patch) | |
tree | 3f3d7eeb9858ef21efb65f69f1123b51db9c1a67 /drivers/hwmon/abx500.c | |
parent | 1f93e4a96c9109378204c147b3eec0d0e8100fde (diff) | |
download | linux-stable-3245acbce952cda75b2fafa8e40452ef0c4756c1.tar.gz linux-stable-3245acbce952cda75b2fafa8e40452ef0c4756c1.tar.bz2 linux-stable-3245acbce952cda75b2fafa8e40452ef0c4756c1.zip |
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 <luisbg@osg.samsung.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/abx500.c')
-rw-r--r-- | drivers/hwmon/abx500.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/abx500.c b/drivers/hwmon/abx500.c index 6cb89c0ebab6..1fd46859ed29 100644 --- a/drivers/hwmon/abx500.c +++ b/drivers/hwmon/abx500.c @@ -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 = { |