]> git.karo-electronics.de Git - linux-beck.git/commit
NET: sa11x0-ir: containerize DMA data
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 8 Jan 2012 12:53:22 +0000 (12:53 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 9 Feb 2012 15:37:53 +0000 (15:37 +0000)
commit885767ca4ce0800c5d02eb66cc10a0494b7bf312
tree011b654d7f0e7d5d627e9280a20e365f41cfcfc7
parente556fdbde38f68d87f689473b112cc65ddacd6a4
NET: sa11x0-ir: containerize DMA data

Both the transmit and receive DMA store identical data: the skb, dma
address, and the dma registers.  Move this data into its own data
structure.  The following replacements were used:

rxskb -> dma_rx.skb
rxbuf_dma -> dma_rx.dma
rxdma -> dma_rx.regs

txskb -> dma_tx.skb
txbuf_dma -> dma_tx.dma
txdma -> dma_tx.regs

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