Skip to contentSkip to conversation

Remove the GOLDFISH dependency from BATTERY_GOLDFISH

PATCH In review [email protected] 2 participants 3 messages Feb 6, 2021 – Apr 5, 2021 Power supply

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove the GOLDFISH dependency from BATTERY_GOLDFISH

From: Roman Kiryanov <[email protected]>

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

---
 drivers/power/supply/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/power/supply/Kconfig +3 -3
index eec646c568b7..8704fe644b1f 100644
@@ -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"
Signature · 1 line
2.30.0.478.g8a0d178c01-goog
#1 lore raw
Quoted 5 lines · On Fri, Feb 5, 2021 at 6:31 PM <[email protected]> wrote:

From: Roman Kiryanov <[email protected]>

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

Hi Sebastian, could you please take a look at my patch?

Thank you.

#2 lore raw

Hi,

Quoted 10 lines · Roman Kiryanov
Quoted 5 lines · On Fri, Feb 5, 2021 at 6:31 PM <[email protected]> wrote:

From: Roman Kiryanov <[email protected]>

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

Hi Sebastian, could you please take a look at my patch?

Thank you.

Thanks, queued.

-- Sebastian