diff options
author | Hans de Goede <hdegoede@redhat.com> | 2021-10-18 15:50:51 +0200 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2021-10-18 18:18:56 +0200 |
commit | 0b5a9135d5f12dce8dedaa18de6336364e04e873 (patch) | |
tree | 8541a4bb660e585a7e5f7904f35ebeffe6c2071e /drivers/power | |
parent | 1a6784359540dcfbf4fa73c07868b80c8405cc14 (diff) | |
download | linux-0b5a9135d5f12dce8dedaa18de6336364e04e873.tar.bz2 |
power: supply: axp288-charger: Add depends on IOSF_MBIO to Kconfig
Add "depends on IOSF_MBI" to CONFIG_AXP288_CHARGER as the changes from
commit ed229454856e ("power: supply: axp288-charger: Optimize register
reading method") use symbols which are only defined when IOSF_MBI support
is enabled.
Depending on this is ok since IOSF_MBI support should always be enabled
on devices which use the AXP288 PMIC.
Fixes: ed229454856e ("power: supply: axp288-charger: Optimize register reading method")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/supply/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig index ad93b3550d6d..5cf5bb56d2e3 100644 --- a/drivers/power/supply/Kconfig +++ b/drivers/power/supply/Kconfig @@ -351,7 +351,7 @@ config AXP20X_POWER config AXP288_CHARGER tristate "X-Powers AXP288 Charger" - depends on MFD_AXP20X && EXTCON_AXP288 + depends on MFD_AXP20X && EXTCON_AXP288 && IOSF_MBI help Say yes here to have support X-Power AXP288 power management IC (PMIC) integrated charger. |