aboutsummaryrefslogtreecommitdiff
path: root/drivers/regulator/max14577-regulator.c
diff options
context:
space:
mode:
authorGravatar Marek Szyprowski <m.szyprowski@samsung.com> 2020-12-10 12:21:39 +0100
committerGravatar Mark Brown <broonie@kernel.org> 2020-12-10 14:28:38 +0000
commit0da6736ecd10b45e535b100acd58df2db4c099d8 (patch)
treeed293f8c4b11a57d54701a2b7f3e9a6bcffddb25 /drivers/regulator/max14577-regulator.c
parentMerge series "regulator: da9121: bug fixes" from Adam Ward <Adam.Ward.opensou... (diff)
downloadlinux-0da6736ecd10b45e535b100acd58df2db4c099d8.tar.gz
linux-0da6736ecd10b45e535b100acd58df2db4c099d8.tar.bz2
linux-0da6736ecd10b45e535b100acd58df2db4c099d8.zip
regulator: max14577: Add proper module aliases strings
Add proper modalias structures to let this driver load automatically if compiled as module, because max14577 MFD driver creates MFD cells with such compatible strings. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20201210112139.5370-1-m.szyprowski@samsung.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/max14577-regulator.c')
-rw-r--r--drivers/regulator/max14577-regulator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/regulator/max14577-regulator.c b/drivers/regulator/max14577-regulator.c
index e34face736f4..1d78b455cc48 100644
--- a/drivers/regulator/max14577-regulator.c
+++ b/drivers/regulator/max14577-regulator.c
@@ -269,3 +269,5 @@ module_exit(max14577_regulator_exit);
MODULE_AUTHOR("Krzysztof Kozlowski <krzk@kernel.org>");
MODULE_DESCRIPTION("Maxim 14577/77836 regulator driver");
MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:max14577-regulator");
+MODULE_ALIAS("platform:max77836-regulator");