diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-11-15 14:37:36 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-11-20 15:58:58 +0100 |
commit | ecde6cd4924205e815adf8f1b0df98965e804e7f (patch) | |
tree | 57736461cd4a21b238ac902cafaa196a16b75ea9 /drivers/dma/mv_xor.h | |
parent | c98c17813e3985ebfd657496bfb49d7174d1fad1 (diff) | |
download | blackbird-op-linux-ecde6cd4924205e815adf8f1b0df98965e804e7f.tar.gz blackbird-op-linux-ecde6cd4924205e815adf8f1b0df98965e804e7f.zip |
dma: mv_xor: get rid of the pdev pointer in mv_xor_device
It was only used in places where we could get the 'struct device *'
pointer through a different way.
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.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma/mv_xor.h b/drivers/dma/mv_xor.h index 52ca6172bc6b..05add24ad772 100644 --- a/drivers/dma/mv_xor.h +++ b/drivers/dma/mv_xor.h @@ -70,7 +70,6 @@ struct mv_xor_private { * @common: embedded struct dma_device */ struct mv_xor_device { - struct platform_device *pdev; dma_addr_t dma_desc_pool; void *dma_desc_pool_virt; size_t pool_size; |