Skip to content

Commit 904e782

Browse files
brgldtor
authored andcommitted
Input: max77650-onkey - add MODULE_ALIAS()
Define a MODULE_ALIAS() in the input 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: Dmitry Torokhov <[email protected]>
1 parent 5cecc2b commit 904e782

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/input/misc/max77650-onkey.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,4 @@ module_platform_driver(max77650_onkey_driver);
119119
MODULE_DESCRIPTION("MAXIM 77650/77651 ONKEY driver");
120120
MODULE_AUTHOR("Bartosz Golaszewski <[email protected]>");
121121
MODULE_LICENSE("GPL v2");
122+
MODULE_ALIAS("platform:max77650-onkey");

0 commit comments

Comments
 (0)