Browse Source

goldfish_battery: Add missing GENERIC_HARDIRQS dependency

Fix this link error on s390:

ERROR: "devm_request_threaded_irq" [drivers/power/goldfish_battery.ko] undefined!

Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Heiko Carstens 12 years ago
parent
commit
049645d753
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/power/Kconfig

+ 1 - 0
drivers/power/Kconfig

@@ -348,6 +348,7 @@ config AB8500_BM
 
 config BATTERY_GOLDFISH
 	tristate "Goldfish battery driver"
+	depends on GENERIC_HARDIRQS
 	help
 	  Say Y to enable support for the battery and AC power in the
 	  Goldfish emulator.