i2c versioning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



But I'm so happy to not require people to download and install
a new i2c right now. It really will cut down on tickets, etc,
if we can hold that line for a while.
As soon as I put in a i2c_smbus_i2c_read_block_data() call
without an #ifdef, we're right back where we started.

phil at netroedge.com wrote:
> 
> On Tue, Nov 27, 2001 at 08:14:45PM -0500, Mark D. Studebaker wrote:
> > You can do anything in code but I'm trying to call a function
> > that doesn't exist in 2.6.2 or earlier so I need
> > to do the comparison in the preprocessor in a #if statement
> > so I don't get an undefined symbol.
> 
> I'd tend to lean towards being stubburn and not compiling than
> littering the code with more #ifdef's if they are using an old I2C.
> We've been updating I2C a lot for a while, but maybe we won't need to
> as much in the future?



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux