diff options
author | Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> | 2019-10-23 14:35:24 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2019-10-27 22:33:44 +0100 |
commit | 9480029fe5c24d482efad38dc631bd555fc7afe2 (patch) | |
tree | d7ef7dfc082283d96d84db5426a690e14c1209cb /drivers/power | |
parent | power: supply: ab8500_charger: Fix inconsistent IS_ERR and PTR_ERR (diff) | |
download | linux-9480029fe5c24d482efad38dc631bd555fc7afe2.tar.xz linux-9480029fe5c24d482efad38dc631bd555fc7afe2.zip |
power: supply: bd70528: Add MODULE_ALIAS to allow module auto loading
The bd70528 charger driver is probed by MFD driver. Add MODULE_ALIAS
in order to allow udev to load the module when MFD sub-device cell for
charger is added.
Fixes: f8c7f7ddd8ef0 ("power: supply: Initial support for ROHM BD70528 PMIC charger block")
Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/supply/bd70528-charger.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/supply/bd70528-charger.c b/drivers/power/supply/bd70528-charger.c index 1bb32b7226d7..b8e1ec106627 100644 --- a/drivers/power/supply/bd70528-charger.c +++ b/drivers/power/supply/bd70528-charger.c @@ -741,3 +741,4 @@ module_platform_driver(bd70528_power); MODULE_AUTHOR("Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>"); MODULE_DESCRIPTION("BD70528 power-supply driver"); MODULE_LICENSE("GPL"); +MODULE_ALIAS("platform:bd70528-power"); |