[PATCH] Remove the GOLDFISH dependency from BATTERY_GOLDFISH

From: rkir
Date: Fri Feb 05 2021 - 23:13:37 EST


From: Roman Kiryanov <rkir@xxxxxxxxxx>

This will allow to use the BATTERY_GOLDFISH driver
without enabling GOLDFISH.

Signed-off-by: Roman Kiryanov <rkir@xxxxxxxxxx>
---
drivers/power/supply/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig
index eec646c568b7..8704fe644b1f 100644
--- a/drivers/power/supply/Kconfig
+++ b/drivers/power/supply/Kconfig
@@ -683,11 +683,11 @@ config AB8500_BM

config BATTERY_GOLDFISH
tristate "Goldfish battery driver"
- depends on GOLDFISH || COMPILE_TEST
depends on HAS_IOMEM
help
- Say Y to enable support for the battery and AC power in the
- Goldfish emulator.
+ Say Y to enable support for the Goldfish battery and AC power
+ driver. Originated in the Android Studio Emulator (goldfish) it is
+ going to be used in other emulators.

config BATTERY_RT5033
tristate "RT5033 fuel gauge support"
--
2.30.0.478.g8a0d178c01-goog