aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/mv_xor.h
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-15 08:57:44 -0500
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-20 09:58:58 -0500
commit98817b99599fc18b5e4bf5bc63ad899b83404a68 (patch)
tree5a95c5af7d19946e47525f88591907e42d9e010e /drivers/dma/mv_xor.h
parentecde6cd4924205e815adf8f1b0df98965e804e7f (diff)
dma: mv_xor: in mv_xor_chan, rename 'common' to 'dmachan'
The mv_xor_chan structure embeds a 'struct dma_chan', which is named 'common', a not very meaningful name. Rename it to 'dmachan', which will help avoid confusions later as we merge the mv_xor_device and mv_xor_chan structures together. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'drivers/dma/mv_xor.h')
-rw-r--r--drivers/dma/mv_xor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/mv_xor.h b/drivers/dma/mv_xor.h
index 05add24ad772..ad18f6447cec 100644
--- a/drivers/dma/mv_xor.h
+++ b/drivers/dma/mv_xor.h
@@ -101,7 +101,7 @@ struct mv_xor_chan {
101 struct list_head chain; 101 struct list_head chain;
102 struct list_head completed_slots; 102 struct list_head completed_slots;
103 struct mv_xor_device *device; 103 struct mv_xor_device *device;
104 struct dma_chan common; 104 struct dma_chan dmachan;
105 struct mv_xor_desc_slot *last_used; 105 struct mv_xor_desc_slot *last_used;
106 struct list_head all_slots; 106 struct list_head all_slots;
107 int slots_allocated; 107 int slots_allocated;