I2C_ALGO_MAX

Greg KH greg at kroah.com
Wed Aug 27 05:11:06 CEST 2003


On Sat, Aug 23, 2003 at 04:51:04PM -0400, Mark D. Studebaker  wrote:
> 
> 
> Jean Delvare wrote:
> >>>I2C_ALGO_MAX, defined in i2c.h, doesn't seem to be used anywhere.
> >>>Same for I2C_DUMMY_MAX. Should we simply remove them?
> >>
> >>agreed. apparently these aren't registered in a static table like
> >>drivers are.
> >
> >
> >Done.
> > 
> >
> >>BTW if we want to make things better for the foolish people that want
> >>to compile-in every driver we should increase the other xxx_MAX
> >>defines.
> >
> >
> >Compiling all sensor chip drivers into the kernel is BAD. Do we want to
> >help people doing a BAD thing?
> >
> 
> I think that's what Greg was advocating...

I was?  Hm, don't remember that, I was trying to fix a real problem that
some users had, which was solved by the link order change.

But how about removing the static arrays all together.  That's what 2.6
has :)

thanks,

greg k-h



More information about the lm-sensors mailing list