From: Adrian Bunk <bunk@fs.tum.de>
To: Greg KH <greg@kroah.com>
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: Sat, 5 Apr 2003 00:29:23 +0200 [thread overview]
Message-ID: <20030404222922.GE20044@fs.tum.de> (raw)
In-Reply-To: <20030403223901.GB6170@kroah.com>
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,
>
> greg k-h
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
next prev parent reply other threads:[~2003-04-04 22:18 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 [this message]
2003-04-07 16:32 ` Greg KH
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=20030404222922.GE20044@fs.tum.de \
--to=bunk@fs.tum.de \
--cc=greg@kroah.com \
--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