aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/max8998.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator/max8998.c')
-rw-r--r--drivers/regulator/max8998.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/regulator/max8998.c b/drivers/regulator/max8998.c
index 7568df6122ab..af52ebfc4927 100644
--- a/drivers/regulator/max8998.c
+++ b/drivers/regulator/max8998.c
@@ -835,6 +835,12 @@ static int __devexit max8998_pmic_remove(struct platform_device *pdev)
835 return 0; 835 return 0;
836} 836}
837 837
838static const struct platform_device_id max8998_pmic_id[] = {
839 { "max8998-pmic", TYPE_MAX8998 },
840 { "lp3974-pmic", TYPE_LP3974 },
841 { }
842};
843
838static struct platform_driver max8998_pmic_driver = { 844static struct platform_driver max8998_pmic_driver = {
839 .driver = { 845 .driver = {
840 .name = "max8998-pmic", 846 .name = "max8998-pmic",
@@ -842,6 +848,7 @@ static struct platform_driver max8998_pmic_driver = {
842 }, 848 },
843 .probe = max8998_pmic_probe, 849 .probe = max8998_pmic_probe,
844 .remove = __devexit_p(max8998_pmic_remove), 850 .remove = __devexit_p(max8998_pmic_remove),
851 .id_table = max8998_pmic_id,
845}; 852};
846 853
847static int __init max8998_pmic_init(void) 854static int __init max8998_pmic_init(void)