Skip to contentSkip to conversation

power: supply: max77650: add MODULE_ALIAS()

PATCH In review Bartosz Golaszewski 2 participants 3 messages Jul 3, 2019 – Sep 2, 2019

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

PATCH 1/1 power: supply: max77650: add MODULE_ALIAS()

From: Bartosz Golaszewski <[email protected]>

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

---
 drivers/power/supply/max77650-charger.c | 1 +
 1 file changed, 1 insertion(+)
drivers/power/supply/max77650-charger.c +1 -0
index e34714cb05ec..5f9477c5cf5a 100644
@@ -366,3 +366,4 @@ module_platform_driver(max77650_charger_driver);
 MODULE_DESCRIPTION("MAXIM 77650/77651 charger driver");
 MODULE_AUTHOR("Bartosz Golaszewski <[email protected]>");
 MODULE_LICENSE("GPL v2");
+MODULE_ALIAS("platform:max77650-charger");
Signature · 1 line
2.21.0
#1 lore raw

śr., 3 lip 2019 o 10:48 Bartosz Golaszewski <[email protected]> napisał(a):

Quoted 21 lines

From: Bartosz Golaszewski <[email protected]>

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

---
 drivers/power/supply/max77650-charger.c | 1 +
 1 file changed, 1 insertion(+)
drivers/power/supply/max77650-charger.c +1 -1
index e34714cb05ec..5f9477c5cf5a 100644
@@ -366,3 +366,4 @@ module_platform_driver(max77650_charger_driver);
 MODULE_DESCRIPTION("MAXIM 77650/77651 charger driver");
 MODULE_AUTHOR("Bartosz Golaszewski <[email protected]>");
 MODULE_LICENSE("GPL v2");
+MODULE_ALIAS("platform:max77650-charger");
--
Quoted 2 lines

2.21.0

Hi Sebastian,

just a gentle ping for this patch.

Bart

#2 lore raw
In reply to Bartosz Golaszewski

Hi,

Quoted 7 lines · Bartosz Golaszewski

From: Bartosz Golaszewski <[email protected]>

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

---

Thanks, queued. Sorry for the delay.

-- Sebastian

Quoted 15 lines
 drivers/power/supply/max77650-charger.c | 1 +
 1 file changed, 1 insertion(+)
drivers/power/supply/max77650-charger.c +1 -0
index e34714cb05ec..5f9477c5cf5a 100644
@@ -366,3 +366,4 @@ module_platform_driver(max77650_charger_driver);
 MODULE_DESCRIPTION("MAXIM 77650/77651 charger driver");
 MODULE_AUTHOR("Bartosz Golaszewski <[email protected]>");
 MODULE_LICENSE("GPL v2");
+MODULE_ALIAS("platform:max77650-charger");
Signature · 1 line
2.21.0