Skip to content

Commit 0da6736

Browse files
mszyprowbroonie
authored andcommitted
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>
1 parent 9d12538 commit 0da6736

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/regulator/max14577-regulator.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,3 +269,5 @@ module_exit(max14577_regulator_exit);
269269
MODULE_AUTHOR("Krzysztof Kozlowski <krzk@kernel.org>");
270270
MODULE_DESCRIPTION("Maxim 14577/77836 regulator driver");
271271
MODULE_LICENSE("GPL");
272+
MODULE_ALIAS("platform:max14577-regulator");
273+
MODULE_ALIAS("platform:max77836-regulator");

0 commit comments

Comments
 (0)