On Thu, Mar 13, 2008 at 3:38 PM, Peter Stuge peter@stuge.se wrote:
Also ack, but..
+static void smbus_write_byte(unsigned device, unsigned address, unsigned char val) +{
if (smbus_wait_until_ready(SMBUS_IO_BASE) < 0) {
return;
}
return;
+}
..is this really working? Could be just the function call in that case.
Neither smbus_write_byte() nor smbus_write_block() is ever called, it turns out. So they probably don't work :-)
Here is an updated patch with those functions removed.
Signed-off-by: Ed Swierk eswierk@arastra.com
--Ed