Skip to content

Commit

Permalink
ds2760_battery: Fix W1 and W1_SLAVE_DS2760 dependency
Browse files Browse the repository at this point in the history
Fix this Kconfig warning on allmodconfig for s390:

warning: (BATTERY_DS2760 && POWER_SUPPLY) selects W1 which has unmet
direct dependencies (HAS_IOMEM)

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
  • Loading branch information
Martin Schwidefsky authored and Anton Vorontsov committed Sep 23, 2010
1 parent 305da8f commit f6127b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/power/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ config TEST_POWER

config BATTERY_DS2760
tristate "DS2760 battery driver (HP iPAQ & others)"
select W1
select W1_SLAVE_DS2760
depends on W1 && W1_SLAVE_DS2760
help
Say Y here to enable support for batteries with ds2760 chip.

Expand Down

0 comments on commit f6127b8

Please sign in to comment.