Skip to contentSkip to conversation

input: max77650-onkey: add MODULE_ALIAS()

PATCH New Bartosz Golaszewski 1 participant 1 message Jul 3, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 input: max77650-onkey: add MODULE_ALIAS()

From: Bartosz Golaszewski <[email protected]>

Define a MODULE_ALIAS() in the input sub-driver for max77650 so that the appropriate module gets loaded together with the core mfd driver.

---
 drivers/input/misc/max77650-onkey.c | 1 +
 1 file changed, 1 insertion(+)
drivers/input/misc/max77650-onkey.c +1 -0
index fbf6caab7217..4d875f2ac13d 100644
@@ -119,3 +119,4 @@ module_platform_driver(max77650_onkey_driver);
 MODULE_DESCRIPTION("MAXIM 77650/77651 ONKEY driver");
 MODULE_AUTHOR("Bartosz Golaszewski <[email protected]>");
 MODULE_LICENSE("GPL v2");
+MODULE_ALIAS("platform:max77650-onkey");
Signature · 1 line
2.21.0