aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Vaittinen <[email protected]>2019-10-23 15:14:52 +0300
committerMark Brown <[email protected]>2019-10-23 17:47:52 +0100
commit55d5f62c3fa005a6a8010363d7d1855909ceefbc (patch)
treefaa7737b31474200640dcf7c230905d8de14a7bb
parent77fd66c9ff3e992718a79fa6407148935d34b50f (diff)
regulator: bd70528: Add MODULE_ALIAS to allow module auto loading
The bd70528 regulator driver is probed by MFD driver. Add MODULE_ALIAS in order to allow udev to load the module when MFD sub-device cell for regulators is added. Fixes: 99ea37bd1e7d7 ("regulator: bd70528: Support ROHM BD70528 regulator block") Signed-off-by: Matti Vaittinen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--drivers/regulator/bd70528-regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/bd70528-regulator.c b/drivers/regulator/bd70528-regulator.c
index 0248a61f1006..ec764022621f 100644
--- a/drivers/regulator/bd70528-regulator.c
+++ b/drivers/regulator/bd70528-regulator.c
@@ -286,3 +286,4 @@ module_platform_driver(bd70528_regulator);
MODULE_AUTHOR("Matti Vaittinen <[email protected]>");
MODULE_DESCRIPTION("BD70528 voltage regulator driver");
MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:bd70528-pmic");