drivers: power: exclude BSD components from build

Unless ALLOW_BSD_COMPONENTS is enabled support will not be built

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea 2022-02-21 08:04:08 +00:00 committed by Xiang Xiao
parent 990cd877bc
commit 3a77cd3d6a
1 changed files with 1 additions and 0 deletions

View File

@ -381,6 +381,7 @@ config BQ2425X
select I2C select I2C
select I2C_BQ2425X select I2C_BQ2425X
depends on BATTERY_CHARGER depends on BATTERY_CHARGER
depends on ALLOW_BSD_COMPONENTS
---help--- ---help---
The BQ24250/BQ24251 are battery charger for lithium-ion batteries. The BQ24250/BQ24251 are battery charger for lithium-ion batteries.