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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

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.

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux