diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-07-03 10:48:49 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-07-03 14:02:59 +0200 |
commit | ba2bf340ade89e71c53273ea115c7872865782c1 (patch) | |
tree | 12a8ce06abc1c11fb037c8c939676724d20d6856 /drivers/regulator/max77650-regulator.c | |
parent | regulator: max77620: remove redundant assignment to variable ret (diff) | |
download | linux-ba2bf340ade89e71c53273ea115c7872865782c1.tar.xz linux-ba2bf340ade89e71c53273ea115c7872865782c1.zip |
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>
Diffstat (limited to 'drivers/regulator/max77650-regulator.c')
-rw-r--r-- | drivers/regulator/max77650-regulator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/max77650-regulator.c b/drivers/regulator/max77650-regulator.c index e3b28fc68cdb..b79fe93c8edb 100644 --- a/drivers/regulator/max77650-regulator.c +++ b/drivers/regulator/max77650-regulator.c @@ -452,3 +452,4 @@ module_platform_driver(max77650_regulator_driver); MODULE_DESCRIPTION("MAXIM 77650/77651 regulator driver"); MODULE_AUTHOR("Bartosz Golaszewski <bgolaszewski@baylibre.com>"); MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:max77650-regulator"); |