regulator: rn5t618: fix module aliases
authorAndreas Kemnade <andreas@kemnade.info>
Wed, 11 Dec 2019 22:16:00 +0000 (23:16 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 16 Dec 2019 11:53:37 +0000 (11:53 +0000)
platform device aliases were missing, preventing
autoloading of module.

Fixes: 811b700630ff ("regulator: rn5t618: add driver for Ricoh RN5T618 regulators")
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Link: https://lore.kernel.org/r/20191211221600.29438-1-andreas@kemnade.info
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/rn5t618-regulator.c

index eb807a059479a6e744a767eabb3d880df3f2f80a..aa6e7c5341ceb1611fd97d94703bcf623ffaea19 100644 (file)
@@ -148,6 +148,7 @@ static struct platform_driver rn5t618_regulator_driver = {
 
 module_platform_driver(rn5t618_regulator_driver);
 
+MODULE_ALIAS("platform:rn5t618-regulator");
 MODULE_AUTHOR("Beniamino Galvani <b.galvani@gmail.com>");
 MODULE_DESCRIPTION("RN5T618 regulator driver");
 MODULE_LICENSE("GPL v2");