summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/hi6421-pmic-core.c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-09-17 20:16:10 +0200
committerLee Jones <lee.jones@linaro.org>2015-10-26 15:49:00 +0100
commit544507362d2d1bd3514358df6c6df573f023afd7 (patch)
tree591e49cd430538916d55a890b561149f9aec5ef0 /drivers/mfd/hi6421-pmic-core.c
parentmfd: atmel-hlcdc: Fix module autoload for OF platform driver (diff)
downloadlinux-544507362d2d1bd3514358df6c6df573f023afd7.tar.xz
linux-544507362d2d1bd3514358df6c6df573f023afd7.zip
mfd: hi6421-pmic: 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/hi6421-pmic-core.c')
-rw-r--r--drivers/mfd/hi6421-pmic-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/hi6421-pmic-core.c b/drivers/mfd/hi6421-pmic-core.c
index 95b2ff8f223a..f9ded45a992d 100644
--- a/drivers/mfd/hi6421-pmic-core.c
+++ b/drivers/mfd/hi6421-pmic-core.c
@@ -97,6 +97,7 @@ static const struct of_device_id of_hi6421_pmic_match_tbl[] = {
{ .compatible = "hisilicon,hi6421-pmic", },
{ },
};
+MODULE_DEVICE_TABLE(of, of_hi6421_pmic_match_tbl);
static struct platform_driver hi6421_pmic_driver = {
.driver = {