summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-09-17 20:16:50 +0200
committerLee Jones <lee.jones@linaro.org>2015-10-26 14:49:02 +0000
commit327cc18e76295690f560feb999cd4ec0e5d661d5 (patch)
tree55db2a018eb6a5d85ca1b5e5cd065379f38cc4a7 /drivers/mfd
parent01bd09f040698ffbe45e4b8ed7a4399148d2cf9b (diff)
downloadlinux-327cc18e76295690f560feb999cd4ec0e5d661d5.tar.gz
linux-327cc18e76295690f560feb999cd4ec0e5d661d5.tar.bz2
linux-327cc18e76295690f560feb999cd4ec0e5d661d5.zip
mfd: sm501: 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: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/sm501.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/sm501.c b/drivers/mfd/sm501.c
index 91077efc8050..c646784c5a7d 100644
--- a/drivers/mfd/sm501.c
+++ b/drivers/mfd/sm501.c
@@ -1719,6 +1719,7 @@ static const struct of_device_id of_sm501_match_tbl[] = {
{ .compatible = "smi,sm501", },
{ /* end */ }
};
+MODULE_DEVICE_TABLE(of, of_sm501_match_tbl);
static struct platform_driver sm501_plat_driver = {
.driver = {