power: supply: rk817_battery: Support building as module

Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: Ic9479fc7358d3953aae5e54b6ae82e9babbce1f9
This commit is contained in:
shengfei Xu
2020-07-17 11:32:49 +08:00
committed by Tao Huang
parent 24cdbe2d6b
commit 53524e0241
2 changed files with 2 additions and 4 deletions

View File

@@ -666,7 +666,7 @@ config BATTERY_RK816
This driver can give support for Rk816 Battery Charge Interface.
config BATTERY_RK817
bool "RK817 Battery driver"
tristate "RK817 Battery driver"
depends on MFD_RK808
help
If you say yes here you will get support for the battery of RK817 PMIC.

View File

@@ -3333,7 +3333,5 @@ static void __exit rk817_battery_exit(void)
}
module_exit(rk817_battery_exit);
MODULE_DESCRIPTION("RK817 Battery driver");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("shengfeixu <xsf@rock-chips.com>");
MODULE_DESCRIPTION("rk817 battery Charger Driver");