projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
100a211
)
regulator: rn5t618: fix module aliases
author
Andreas Kemnade
<andreas@kemnade.info>
Wed, 11 Dec 2019 22:16:00 +0000
(23:16 +0100)
committer
Mark 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
patch
|
blob
|
history
diff --git
a/drivers/regulator/rn5t618-regulator.c
b/drivers/regulator/rn5t618-regulator.c
index eb807a059479a6e744a767eabb3d880df3f2f80a..aa6e7c5341ceb1611fd97d94703bcf623ffaea19 100644
(file)
--- 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");