NET: sa11x0-ir: split si->dev for IrDA transmit and receive buffers
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 12 Jan 2012 13:56:28 +0000 (13:56 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 9 Feb 2012 15:37:57 +0000 (15:37 +0000)
commit3c500a35544d6270b127bce7d4c5a15ef454b9e2
tree9a2fc13181e2b871d8804f55fc717fdbe2387f62
parent04b7fc4dec4fcb61dbe022bbaffda8ea37c39430
NET: sa11x0-ir: split si->dev for IrDA transmit and receive buffers

The sa11x0-ir device is not the device which is doing the DMA, the
DMA is being performed by a separate DMA engine.  Split the struct
device associated with each DMA channel from the main struct device,
but for the time being initialize it from the main struct device.

This is another preparatory step to converting this driver to use the
DMA engine API.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/net/irda/sa1100_ir.c