Am Mittwoch, 4. April 2007 21:49 schrieb Hans-J?rgen Koch: > I'm working on a driver for LM93. I've got some code by Mark Hoffman, (c)2004. > It doesn't compile on a recent kernel, because it heavily uses a function called > i2c_smbus_read_block_data(). Googling for that, I found this old mail in the > archives (October 2005): > > http://lists.lm-sensors.org/pipermail/lm-sensors/2005-October/013971.html > > Jean, what do you say to that today? Can we have that function back in > mainline, or do I have to find another solution? > If you agree to add it, I could prepare a patch for it, if you don't have > a recent version handy. Answering my own question: After looking at i2c-core.c et al., I find it quite obvious that this function should be added, if a driver needs it. I attached a patch that does this. Would that be acceptable? I can resend it when I have the LM93 patch ready. Thanks, Hans -------------- next part -------------- A non-text attachment was scrubbed... Name: add-i2c_smbus_read_block_data.patch Type: text/x-diff Size: 1921 bytes Desc: not available Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20070404/638105b6/attachment.bin