aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-09-17 14:16:10 -0400
committerLee Jones <lee.jones@linaro.org>2015-10-26 10:49:00 -0400
commit544507362d2d1bd3514358df6c6df573f023afd7 (patch)
tree591e49cd430538916d55a890b561149f9aec5ef0
parenta0aef1f529c9caf207176337ff0418a68a32e87f (diff)
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>
-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[] = {
97 { .compatible = "hisilicon,hi6421-pmic", }, 97 { .compatible = "hisilicon,hi6421-pmic", },
98 { }, 98 { },
99}; 99};
100MODULE_DEVICE_TABLE(of, of_hi6421_pmic_match_tbl);
100 101
101static struct platform_driver hi6421_pmic_driver = { 102static struct platform_driver hi6421_pmic_driver = {
102 .driver = { 103 .driver = {