]> 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)
commitaa53e5e6de578a80561e1d153dd442fc495fa4b8
tree9a2fc13181e2b871d8804f55fc717fdbe2387f62
parent69a061e87e05466940bbd6d71889644b4897d2b8
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