diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index 7b8979c63f4882e6c3e5375b9f9c35c40e5a829c..dcc0d9e5817d929d62f7231ff91fb322ffe99ed1 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig @@ -357,7 +357,7 @@ config AB8500_BM config BATTERY_GOLDFISH tristate "Goldfish battery driver" - depends on GENERIC_HARDIRQS + depends on GENERIC_HARDIRQS && (GOLDFISH || COMPILE_TEST) help Say Y to enable support for the battery and AC power in the Goldfish emulator.