summaryrefslogtreecommitdiff
path: root/drivers/regulator/rn5t618-regulator.c
diff options
context:
space:
mode:
authorAndreas Kemnade <andreas@kemnade.info>2019-12-11 23:16:00 +0100
committerMark Brown <broonie@kernel.org>2019-12-16 11:53:37 +0000
commit62a1923cc8fe095912e6213ed5de27abbf1de77e (patch)
tree22ab75ecd5fcc4563d4e03e586fdcc9da365c2f8 /drivers/regulator/rn5t618-regulator.c
parent100a21100bbb2bbc82fc4273e152c96e5c6c5d12 (diff)
downloadlwn-62a1923cc8fe095912e6213ed5de27abbf1de77e.tar.gz
lwn-62a1923cc8fe095912e6213ed5de27abbf1de77e.zip
regulator: rn5t618: fix module aliases
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>
Diffstat (limited to 'drivers/regulator/rn5t618-regulator.c')
-rw-r--r--drivers/regulator/rn5t618-regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/rn5t618-regulator.c b/drivers/regulator/rn5t618-regulator.c
index eb807a059479..aa6e7c5341ce 100644
--- a/drivers/regulator/rn5t618-regulator.c
+++ b/drivers/regulator/rn5t618-regulator.c
@@ -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");