drivers: charger: add charger prefix for bq24190

Many (or almost all) drivers contain the specified prefixes
related to the driver subsys so add the missing one for the
BQ24190.

Signed-off-by: Bartosz Bilas <bartosz.bilas@hotmail.com>
This commit is contained in:
Bartosz Bilas 2023-11-07 19:45:01 +01:00 committed by Maureen Helm
parent 12665a0dc1
commit 8129307887
3 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
zephyr_library()
zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/drivers/charger.h)
zephyr_library_sources_ifdef(CONFIG_BQ24190 bq24190.c)
zephyr_library_sources_ifdef(CONFIG_CHARGER_BQ24190 charger_bq24190.c)
zephyr_library_sources_ifdef(CONFIG_SBS_CHARGER sbs_charger.c)
zephyr_library_sources_ifdef(CONFIG_USERSPACE charger_handlers.c)
zephyr_library_sources_ifdef(CONFIG_EMUL_SBS_CHARGER emul_sbs_charger.c)

View file

@ -1,7 +1,7 @@
# Copyright 2023 Cirrus Logic, Inc.
# SPDX-License-Identifier: Apache-2.0
config BQ24190
config CHARGER_BQ24190
bool "BQ24190 Battery Charger"
default y
depends on DT_HAS_TI_BQ24190_ENABLED