summaryrefslogtreecommitdiffstats
path: root/drivers/w1
diff options
context:
space:
mode:
authorEvgeniy Polyakov2006-04-27 17:40:27 +0200
committerGreg Kroah-Hartman2006-06-22 20:22:51 +0200
commit30841711c88dc2d9ce31bfa3fa5479aa823804cf (patch)
treef06a08530d844e17925179a0703dda6fc334e5d9 /drivers/w1
parent[PATCH] drivers/w1/w1.c: fix a compile error (diff)
downloadkernel-qcow2-linux-30841711c88dc2d9ce31bfa3fa5479aa823804cf.tar.gz
kernel-qcow2-linux-30841711c88dc2d9ce31bfa3fa5479aa823804cf.tar.xz
kernel-qcow2-linux-30841711c88dc2d9ce31bfa3fa5479aa823804cf.zip
[PATCH] w1: clean up W1_CON dependency.
If w1 is not enabled, w1_con should not appear in configuration, even if no logic is turned on without w1. W1_CON should depend on W1 also. Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/w1')
-rw-r--r--drivers/w1/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/w1/Kconfig b/drivers/w1/Kconfig
index 0c6c4359bf7b..f2d9a08e89ae 100644
--- a/drivers/w1/Kconfig
+++ b/drivers/w1/Kconfig
@@ -12,7 +12,7 @@ config W1
will be called wire.ko.
config W1_CON
- depends on CONNECTOR
+ depends on CONNECTOR && W1
bool "Userspace communication over connector"
default y
--- help ---