Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f6127b86 authored by Martin Schwidefsky's avatar Martin Schwidefsky Committed by Anton Vorontsov
Browse files

ds2760_battery: Fix W1 and W1_SLAVE_DS2760 dependency



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: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: default avatarAnton Vorontsov <cbouatmailru@gmail.com>
parent 305da8f5
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -64,8 +64,7 @@ config TEST_POWER


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