Skip to content

Commit

Permalink
[PATCH] w1: clean up W1_CON dependency.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Evgeniy Polyakov authored and Greg Kroah-Hartman committed Jun 22, 2006
1 parent 6a87340 commit 3084171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/w1/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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 ---
Expand Down

0 comments on commit 3084171

Please sign in to comment.