The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] w1: slaves: Add dependency for W1_SLAVE_BQ27000
@ 2015-04-28 20:24 Marek Belisko
  2015-04-30 13:30 ` Evgeniy Polyakov
  0 siblings, 1 reply; 5+ messages in thread
From: Marek Belisko @ 2015-04-28 20:24 UTC (permalink / raw)
  To: zbr; +Cc: linux-kernel, hns, Marek Belisko

bq2700 slave driver depends on bq27x00-battery driver thus adding this
dependency to config. When bq2700 is build as module bq27x00-battery
will be loaded automatically.

Signed-off-by: Marek Belisko <marek@goldelico.com>
---
 drivers/w1/slaves/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/w1/slaves/Kconfig b/drivers/w1/slaves/Kconfig
index cfe74d0..15c230a 100644
--- a/drivers/w1/slaves/Kconfig
+++ b/drivers/w1/slaves/Kconfig
@@ -128,6 +128,7 @@ config W1_SLAVE_DS28E04
 
 config W1_SLAVE_BQ27000
 	tristate "BQ27000 slave support"
+	depends on BATTERY_BQ27X00_PLATFORM
 	help
 	  Say Y here if you want to use a hdq
 	  bq27000 slave support.
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-05-15 21:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-28 20:24 [PATCH] w1: slaves: Add dependency for W1_SLAVE_BQ27000 Marek Belisko
2015-04-30 13:30 ` Evgeniy Polyakov
2015-04-30 13:37   ` Belisko Marek
2015-05-15 19:57     ` Belisko Marek
2015-05-15 21:00       ` Sebastian Reichel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox