Skip to content

Commit 343160e

Browse files
brglsre
authored andcommitted
power: supply: max77650: add MODULE_ALIAS()
Define a MODULE_ALIAS() in the charger sub-driver for max77650 so that the appropriate module gets loaded together with the core mfd driver. Signed-off-by: Bartosz Golaszewski <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
1 parent 72e538f commit 343160e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/power/supply/max77650-charger.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,3 +366,4 @@ module_platform_driver(max77650_charger_driver);
366366
MODULE_DESCRIPTION("MAXIM 77650/77651 charger driver");
367367
MODULE_AUTHOR("Bartosz Golaszewski <[email protected]>");
368368
MODULE_LICENSE("GPL v2");
369+
MODULE_ALIAS("platform:max77650-charger");

0 commit comments

Comments
 (0)