summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorRoman Kiryanov <rkir@google.com>2021-02-06 05:31:18 +0300
committerSebastian Reichel <sre@kernel.org>2021-04-05 13:10:11 +0300
commit570b7c0ea20c0156411394bc215114f7b1dc18ff (patch)
tree3151c828b30c3336b6c96561daf01b6226e4e47a /drivers/power
parent52473b07401891fd963db44ca691ec9ec441546c (diff)
downloadlinux-570b7c0ea20c0156411394bc215114f7b1dc18ff.tar.xz
power: supply: goldfish: Remove the GOLDFISH dependency
This will allow to use the BATTERY_GOLDFISH driver without enabling GOLDFISH. Signed-off-by: Roman Kiryanov <rkir@google.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/supply/Kconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig
index 006b95eca673..0003effd0db7 100644
--- a/drivers/power/supply/Kconfig
+++ b/drivers/power/supply/Kconfig
@@ -704,11 +704,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"