]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
regulator: bd70528: Add MODULE_ALIAS to allow module auto loading
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Wed, 23 Oct 2019 12:14:52 +0000 (15:14 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 23 Oct 2019 16:47:52 +0000 (17:47 +0100)
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 <matti.vaittinen@fi.rohmeurope.com>
Link: https://lore.kernel.org/r/20191023121452.GA1812@localhost.localdomain
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/bd70528-regulator.c

index 0248a61f1006b3e769ca00cf660b65d646900199..ec764022621f194ce41045eaddaf6203f71e3ef4 100644 (file)
@@ -286,3 +286,4 @@ module_platform_driver(bd70528_regulator);
 MODULE_AUTHOR("Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>");
 MODULE_DESCRIPTION("BD70528 voltage regulator driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:bd70528-pmic");