From: Bartosz Golaszewski Date: Wed, 3 Jul 2019 08:48:49 +0000 (+0200) Subject: regulator: max77650: add MODULE_ALIAS() X-Git-Tag: v5.3-rc4~41^2~7 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=ba2bf340ade89e71c53273ea115c7872865782c1;p=linux.git 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 Link: https://lore.kernel.org/r/20190703084849.9668-1-brgl@bgdev.pl Signed-off-by: Mark Brown --- 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 "); MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:max77650-regulator");