diff options
-rw-r--r-- | drivers/regulator/max8997.c | 1 | ||||
-rw-r--r-- | drivers/regulator/max8998.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/regulator/max8997.c b/drivers/regulator/max8997.c index 01ef7e9903bb..77e0cfb30b23 100644 --- a/drivers/regulator/max8997.c +++ b/drivers/regulator/max8997.c | |||
@@ -1185,6 +1185,7 @@ static const struct platform_device_id max8997_pmic_id[] = { | |||
1185 | { "max8997-pmic", 0}, | 1185 | { "max8997-pmic", 0}, |
1186 | { }, | 1186 | { }, |
1187 | }; | 1187 | }; |
1188 | MODULE_DEVICE_TABLE(platform, max8997_pmic_id); | ||
1188 | 1189 | ||
1189 | static struct platform_driver max8997_pmic_driver = { | 1190 | static struct platform_driver max8997_pmic_driver = { |
1190 | .driver = { | 1191 | .driver = { |
diff --git a/drivers/regulator/max8998.c b/drivers/regulator/max8998.c index 0ec49ca527a8..43410266f993 100644 --- a/drivers/regulator/max8998.c +++ b/drivers/regulator/max8998.c | |||
@@ -887,6 +887,7 @@ static const struct platform_device_id max8998_pmic_id[] = { | |||
887 | { "lp3974-pmic", TYPE_LP3974 }, | 887 | { "lp3974-pmic", TYPE_LP3974 }, |
888 | { } | 888 | { } |
889 | }; | 889 | }; |
890 | MODULE_DEVICE_TABLE(platform, max8998_pmic_id); | ||
890 | 891 | ||
891 | static struct platform_driver max8998_pmic_driver = { | 892 | static struct platform_driver max8998_pmic_driver = { |
892 | .driver = { | 893 | .driver = { |