diff options
author | Anton Vorontsov <cbouatmailru@gmail.com> | 2011-04-21 19:08:22 -0400 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2011-04-21 19:17:11 -0400 |
commit | 6f9efe76cb213e9b0dd89e465efaf9725f4bf492 (patch) | |
tree | c339118d601edb63640ab72624964ec7eb9cbace /drivers/power/Kconfig | |
parent | 10299e2e4e3ed3b16503d4e04edd48b33083f4e2 (diff) |
max8903_charger: Add GENERIC_HARDIRQS as a dependency (fixes S390 build)
S390 is special as it doesn't have IRQ lines, so these errors pop up:
drivers/built-in.o: In function 'max8903_remove':
drivers/power/max8903_charger.c:355: undefined reference to 'free_irq'
drivers/power/max8903_charger.c:357: undefined reference to 'free_irq'
drivers/power/max8903_charger.c:359: undefined reference to 'free_irq'
This commit fixes the issue by making the driver depend on
GENERIC_HARDIRQS feature.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'drivers/power/Kconfig')
-rw-r--r-- | drivers/power/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index 1f50ebcc6399..cc019c9812c2 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig | |||
@@ -205,6 +205,7 @@ config CHARGER_ISP1704 | |||
205 | 205 | ||
206 | config CHARGER_MAX8903 | 206 | config CHARGER_MAX8903 |
207 | tristate "MAX8903 Battery DC-DC Charger for USB and Adapter Power" | 207 | tristate "MAX8903 Battery DC-DC Charger for USB and Adapter Power" |
208 | depends on GENERIC_HARDIRQS | ||
208 | help | 209 | help |
209 | Say Y to enable support for the MAX8903 DC-DC charger and sysfs. | 210 | Say Y to enable support for the MAX8903 DC-DC charger and sysfs. |
210 | The driver supports controlling charger-enable and current-limit | 211 | The driver supports controlling charger-enable and current-limit |