[PATCH] Dallas's 1-wire bus compile error (again)

From: Christian
Date: Thu Oct 13 2005 - 13:25:26 EST


hi,

playing around with "make randconfig" (don't ask :)), i noticed the
driver for the "Dallas's 1-wire bus" does not compile when CONFIG_NET is disabled.

this was discussed earlier in

http://www.ussg.iu.edu/hypermail/linux/kernel/0408.1/1764.html

but the discussion ended up in arguing about using "depends" over "select" and the actual fix was forgotten i think.

Signed-off-by: Christian Kujau <evil@xxxxxxxxxx>

thanks,
Christian.
--
BOFH excuse #446:

Mailer-daemon is busy burning your message in hell. --- linux-2.6/drivers/w1/Kconfig.orig 2005-10-13 20:09:44.813986698 +0200
+++ linux-2.6/drivers/w1/Kconfig 2005-10-13 20:10:21.613460153 +0200
@@ -2,6 +2,7 @@ menu "Dallas's 1-wire bus"

config W1
tristate "Dallas's 1-wire support"
+ depends on NET
---help---
Dallas's 1-wire bus is usefull to connect slow 1-pin devices
such as iButtons and thermal sensors.