/* Return the address of the command within a descriptor.  */
static unsigned int mxs_dma_cmd_address(struct mxs_dma_desc *desc)
/* Return the address of the command within a descriptor.  */
static unsigned int mxs_dma_cmd_address(struct mxs_dma_desc *desc)
{
	return desc->address + offsetof(struct mxs_dma_desc, cmd);
}