summaryrefslogtreecommitdiff
path: root/drivers/w1/Kconfig
diff options
context:
space:
mode:
authorEvgeniy Polyakov <johnpol@2ka.mipt.ru>2006-04-27 19:40:27 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-22 11:22:51 -0700
commit30841711c88dc2d9ce31bfa3fa5479aa823804cf (patch)
treef06a08530d844e17925179a0703dda6fc334e5d9 /drivers/w1/Kconfig
parent6a873403d387c34c4466cc81649acc8acd66874d (diff)
[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/Kconfig')
-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 ---