Re: Linux 2.6.3-rc4

From: Adrian Bunk
Date: Tue Feb 17 2004 - 19:05:03 EST


On Tue, Feb 17, 2004 at 03:11:08PM -0800, Linus Torvalds wrote:
>
>
> On Tue, 17 Feb 2004, Adrian Bunk wrote:
> >
> > No, I2C_ALGOBIT depends on I2C.
> >
> > > That's really what the true dependency is, logically.
> >
> > Below is a suggested fix that lets FB_RADEON_I2C select I2C.
>
> Thinking about it, this does the wrong thing for _another_ reason.
>
> Basically, if you compile radeonfb as a module, and say "Y" to RADEON_I2C,
> then that should _not_ force I2C to be built-in to the kernel, but that
> is in fact exactly what this would force.
>...

I don't claim to fully understand the 2.6 Kconfig language, but
according to my testings my patch does exactly what you describe.

> Linus

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/