]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit68796c2b6974871b9a7abcef099487434e11e038
tree9a2fc13181e2b871d8804f55fc717fdbe2387f62
parent6b2a70decf4f90e2b043a96a319f22cf792ffec1
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