From d6a30b5c34f2f19f69551ea909cd38add678094f Mon Sep 17 00:00:00 2001 From: Roman Kiryanov Date: Fri, 5 Feb 2021 18:31:18 -0800 Subject: [PATCH] UPSTREAM: power: supply: goldfish: Remove the GOLDFISH dependency This will allow to use the BATTERY_GOLDFISH driver without enabling GOLDFISH. Signed-off-by: Roman Kiryanov Signed-off-by: Sebastian Reichel Bug: 193462735 Change-Id: I1f2b28670680c32e05bf2820ae244ce23f05f92e (cherry picked from commit 570b7c0ea20c0156411394bc215114f7b1dc18ff) --- 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 1699b9269a78..89ca290725e3 100644 --- a/drivers/power/supply/Kconfig +++ b/drivers/power/supply/Kconfig @@ -684,11 +684,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"