aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/mv_xor.h
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-15 15:00:25 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-20 15:58:59 +0100
commit8c75979d7ac8cdec927605336aeebea0c7f88f74 (patch)
treea8189afecee0372448a92e379c270574996f9354 /drivers/dma/mv_xor.h
parentdma: mv_xor: in mv_xor_chan, rename 'common' to 'dmachan' (diff)
downloadlinux-dev-8c75979d7ac8cdec927605336aeebea0c7f88f74.tar.xz
linux-dev-8c75979d7ac8cdec927605336aeebea0c7f88f74.zip
dma: mv_xor: in mv_xor_device, rename 'common' to 'dmadev'
The mv_xor_device structure embeds a 'struct dma_device', which is named 'common', a not very meaningful name. Rename it to 'dmadev', 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 ad18f6447cec..84255e699830 100644
--- a/drivers/dma/mv_xor.h
+++ b/drivers/dma/mv_xor.h
@@ -73,7 +73,7 @@ struct mv_xor_device {
dma_addr_t dma_desc_pool;
void *dma_desc_pool_virt;
size_t pool_size;
- struct dma_device common;
+ struct dma_device dmadev;
struct mv_xor_private *shared;
};