dma: mv_xor: rename mv_xor_private to mv_xor_device
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 15 Nov 2012 14:29:53 +0000 (15:29 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 20 Nov 2012 14:58:59 +0000 (15:58 +0100)
commit297eedbae1677c8276df082fb17fb1344058fed0
tree0bb22fd693ff21d0e8c6266e8d6bae7028dae75a
parent1ef48a262b0d50add7d293a37b8c8bad4bec30a1
dma: mv_xor: rename mv_xor_private to mv_xor_device

Now that mv_xor_device is no longer used to designate the per-channel
DMA devices, use it know to designate the XOR engine themselves
(currently composed of two XOR channels).

So, now we have the nice organization where:

 - mv_xor_device represents each XOR engine in the system
 - mv_xor_chan   represents each XOR channel of a given XOR engine

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
drivers/dma/mv_xor.c
drivers/dma/mv_xor.h