All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian <evil@g-house.de>
To: linux-kernel@vger.kernel.org
Cc: johnpol@2ka.mipt.ru
Subject: [PATCH] Dallas's 1-wire bus compile error (again)
Date: Thu, 13 Oct 2005 20:23:59 +0200	[thread overview]
Message-ID: <434EA63F.10306@g-house.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 519 bytes --]

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@g-house.de>

thanks,
Christian.
-- 
BOFH excuse #446:

Mailer-daemon is busy burning your message in hell.

[-- Attachment #2: dallas-1-wire_compile-fix.diff --]
[-- Type: text/plain, Size: 373 bytes --]

--- 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.

             reply	other threads:[~2005-10-13 18:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-13 18:23 Christian [this message]
2005-10-13 18:33 ` [PATCH] Dallas's 1-wire bus compile error (again) Evgeniy Polyakov
2005-10-13 19:20   ` Christian
2005-10-13 19:47     ` Evgeniy Polyakov
2005-10-13 20:14       ` Christian
  -- strict thread matches above, loose matches on Subject: below --
2005-10-13 18:27 Christian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=434EA63F.10306@g-house.de \
    --to=evil@g-house.de \
    --cc=johnpol@2ka.mipt.ru \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.