Skip to content

Commit a299726

Browse files
brglLinus Walleij
authored andcommitted
gpio: max77650: add MODULE_ALIAS()
Define a MODULE_ALIAS() in the gpio 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/20190703084601.9276-1-brgl@bgdev.pl Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent f626d6d commit a299726

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/gpio/gpio-max77650.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,3 +188,4 @@ module_platform_driver(max77650_gpio_driver);
188188
MODULE_DESCRIPTION("MAXIM 77650/77651 GPIO driver");
189189
MODULE_AUTHOR("Bartosz Golaszewski <bgolaszewski@baylibre.com>");
190190
MODULE_LICENSE("GPL v2");
191+
MODULE_ALIAS("platform:max77650-gpio");

0 commit comments

Comments
 (0)