i2c: Fix the i2c_smbus_read_i2c_block_data() prototype
[linux-2.6.git] / drivers / i2c / busses / i2c-powermac.c
index 1425d22..0ab4f26 100644 (file)
@@ -121,8 +121,7 @@ static s32 i2c_powermac_smbus_xfer( struct i2c_adapter*     adap,
                if (rc)
                        goto bail;
                rc = pmac_i2c_xfer(bus, addrdir, 1, command,
-                                  read ? data->block : &data->block[1],
-                                  data->block[0]);
+                                  &data->block[1], data->block[0]);
                break;
 
         default: