From: Marek Szyprowski Date: Thu, 10 Dec 2020 11:21:39 +0000 (+0100) Subject: regulator: max14577: Add proper module aliases strings X-Git-Tag: v5.15~1909^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0da6736ecd10b45e535b100acd58df2db4c099d8;p=platform%2Fkernel%2Flinux-starfive.git 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 Reviewed-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20201210112139.5370-1-m.szyprowski@samsung.com Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/max14577-regulator.c b/drivers/regulator/max14577-regulator.c index e34face..1d78b45 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 "); MODULE_DESCRIPTION("Maxim 14577/77836 regulator driver"); MODULE_LICENSE("GPL"); +MODULE_ALIAS("platform:max14577-regulator"); +MODULE_ALIAS("platform:max77836-regulator");