power,goldfish: Add dependency on HAS_IOMEM
[platform/adaptation/renesas_rcar/renesas_kernel.git] / drivers / power / Kconfig
index 85ad58c..32c6294 100644 (file)
@@ -377,6 +377,7 @@ 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.