public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Adrian Bunk <bunk@fs.tum.de>
Cc: Vagn Scott <vagn@ranok.com>,
	linux-kernel@vger.kernel.org, zippel@linux-m68k.org
Subject: Re: [2.5.66-bk9] : undefined reference to `i2c_detect'
Date: Mon, 7 Apr 2003 09:32:32 -0700	[thread overview]
Message-ID: <20030407163232.GC2553@kroah.com> (raw)
In-Reply-To: <20030404222922.GE20044@fs.tum.de>

On Sat, Apr 05, 2003 at 12:29:23AM +0200, Adrian Bunk wrote:
> On Thu, Apr 03, 2003 at 02:39:01PM -0800, Greg KH wrote:
> > On Thu, Apr 03, 2003 at 05:27:53PM -0500, Vagn Scott wrote:
> > > 
> > > CONFIG_SENSORS_LM75=y
> > > CONFIG_SENSORS_VIA686A=y
> > > CONFIG_I2C_SENSOR=m
> > 
> > Ok, I need a bit of Kconfig help for drivers/i2c/chips to set
> > CONFIG_I2C_SENSOR to be "y" if either of those two drivers are selected
> > as "y".  Anyone know how?
> 
> The following (untested) should work:
> 
> config I2C_SENSOR
>         tristate
>         default y if SENSORS_ADM1021=y || SENSORS_LM75=y || SENSORS_VIA686A=y   || SENSORS_W83781D=y
>         default m if SENSORS_ADM1021=m || SENSORS_LM75=m || SENSORS_VIA686A=m   || SENSORS_W83781D=m
>         default n

Thanks, that worked out great.  I'll make up a patch and send it on.

greg k-h

      reply	other threads:[~2003-04-07 17:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-03 22:27 [2.5.66-bk9] : undefined reference to `i2c_detect' Vagn Scott
2003-04-03 22:39 ` Greg KH
2003-04-04 22:29   ` Adrian Bunk
2003-04-07 16:32     ` Greg KH [this message]

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=20030407163232.GC2553@kroah.com \
    --to=greg@kroah.com \
    --cc=bunk@fs.tum.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vagn@ranok.com \
    --cc=zippel@linux-m68k.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox