aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2019-09-30 22:26:00 +0200
committerMark Brown <broonie@kernel.org>2019-10-01 18:37:47 +0100
commit95bddd8bbf912a9a7980fde2a376fabf1ff7cd4b (patch)
tree2f396e0dc21c50c60a199a1fdb64c890452d7e9c /drivers/regulator
parentregulator: pcap-regulator: remove unused variable 'SW3_table' (diff)
downloadlinux-dev-95bddd8bbf912a9a7980fde2a376fabf1ff7cd4b.tar.xz
linux-dev-95bddd8bbf912a9a7980fde2a376fabf1ff7cd4b.zip
regulator: bd718x7: Add MODULE_ALIAS()
This fixes device probing when built as a module Signed-off-by: Guido Günther <agx@sigxcpu.org> Link: https://lore.kernel.org/r/46ce3400e227dd88d51486c02a6152c9ec52acbb.1569875042.git.agx@sigxcpu.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/bd718x7-regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/bd718x7-regulator.c b/drivers/regulator/bd718x7-regulator.c
index bdab46a5c461..13a43eee2e46 100644
--- a/drivers/regulator/bd718x7-regulator.c
+++ b/drivers/regulator/bd718x7-regulator.c
@@ -1293,3 +1293,4 @@ module_platform_driver(bd718xx_regulator);
MODULE_AUTHOR("Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>");
MODULE_DESCRIPTION("BD71837/BD71847 voltage regulator driver");
MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:bd718xx-pmic");