Skip to content

Commit ba2bf34

Browse files
brglbroonie
authored andcommitted
regulator: max77650: add MODULE_ALIAS()
Define a MODULE_ALIAS() in the regulator sub-driver for max77650 so that the appropriate module gets loaded together with the core mfd driver. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Link: https://lore.kernel.org/r/20190703084849.9668-1-brgl@bgdev.pl Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent a3c7c02 commit ba2bf34

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/regulator/max77650-regulator.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,3 +452,4 @@ module_platform_driver(max77650_regulator_driver);
452452
MODULE_DESCRIPTION("MAXIM 77650/77651 regulator driver");
453453
MODULE_AUTHOR("Bartosz Golaszewski <bgolaszewski@baylibre.com>");
454454
MODULE_LICENSE("GPL v2");
455+
MODULE_ALIAS("platform:max77650-regulator");

0 commit comments

Comments
 (0)