[PATCH] w1: slaves: Add dependency for W1_SLAVE_BQ27000
From: Marek Belisko
Date: Tue Apr 28 2015 - 16:25:13 EST
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@xxxxxxxxxxxxx>
---
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/