summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-max77650.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2019-07-03 10:47:38 +0200
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2019-07-22 20:34:59 +0200
commit51251542c9688c399e14d852258a675b331e761b (patch)
tree8b887c4ee7883cc365596ed6bdf2bbe4019cedf2 /drivers/leds/leds-max77650.c
parent5f9e832c137075045d15cd6899ab0505cfb2ca4b (diff)
downloadlinux-51251542c9688c399e14d852258a675b331e761b.tar.gz
linux-51251542c9688c399e14d852258a675b331e761b.tar.bz2
linux-51251542c9688c399e14d852258a675b331e761b.zip
leds: max77650: add MODULE_ALIAS()
Define a MODULE_ALIAS() in the LED 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> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'drivers/leds/leds-max77650.c')
-rw-r--r--drivers/leds/leds-max77650.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/leds/leds-max77650.c b/drivers/leds/leds-max77650.c
index 8a8e5c65b157..150421387534 100644
--- a/drivers/leds/leds-max77650.c
+++ b/drivers/leds/leds-max77650.c
@@ -143,3 +143,4 @@ module_platform_driver(max77650_led_driver);
MODULE_DESCRIPTION("MAXIM 77650/77651 LED driver");
MODULE_AUTHOR("Bartosz Golaszewski <bgolaszewski@baylibre.com>");
MODULE_LICENSE("GPL v2");
+MODULE_ALIAS("platform:max77650-led");