leds: max77650: add MODULE_ALIAS()
Subsystems (2)
PATCH 1/1 leds: max77650: add MODULE_ALIAS()
From: Bartosz Golaszewski <[email protected]>
Define a MODULE_ALIAS() in the LED sub-driver for max77650 so that the appropriate module gets loaded together with the core mfd driver.
--- drivers/leds/leds-max77650.c | 1 + 1 file changed, 1 insertion(+)
drivers/leds/leds-max77650.c +1 -0
@@ -145,3 +145,4 @@ module_platform_driver(max77650_led_driver);MODULE_DESCRIPTION ("MAXIM 77650/77651 LED driver" );MODULE_AUTHOR ("Bartosz Golaszewski <[email protected]>" );MODULE_LICENSE ("GPL v2" ); +MODULE_ALIAS ("platform:max77650-led" );
Signature · 1 line
2.21.0
Quoted 7 lines
From: Bartosz Golaszewski <[email protected]>
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 <[email protected]>
ACK.
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Jacek Anaszewski
AppliedHi Bartosz,
Thank you for the patch.
Quoted 16 lines · Bartosz Golaszewski
From: Bartosz Golaszewski <[email protected]>
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 <[email protected]>--- drivers/leds/leds-max77650.c | 1 + 1 file changed, 1 insertion(+)drivers/leds/leds-max77650.c +0
-0
drivers/leds/leds-max77650.c module_platform_driver(max77650_led_driver); · line 148
Quoted 4 lines
drivers/leds/leds-max77650.c +1
-0@@ -145,3 +145,4 @@ module_platform_driver(max77650_led_driver);MODULE_DESCRIPTION ("MAXIM 77650/77651 LED driver" );MODULE_AUTHOR ("Bartosz Golaszewski <[email protected]>" );MODULE_LICENSE ("GPL v2" ); +MODULE_ALIAS ("platform:max77650-led" );
Applied to for-5.4 branch of linux-leds.git.
Signature · 2 lines
Best regards, Jacek Anaszewski