summaryrefslogtreecommitdiffstats
path: root/drivers/dma/mv_xor.h
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-15 14:37:36 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-20 15:58:58 +0100
commitecde6cd4924205e815adf8f1b0df98965e804e7f (patch)
tree57736461cd4a21b238ac902cafaa196a16b75ea9 /drivers/dma/mv_xor.h
parentc98c17813e3985ebfd657496bfb49d7174d1fad1 (diff)
downloadop-kernel-dev-ecde6cd4924205e815adf8f1b0df98965e804e7f.zip
op-kernel-dev-ecde6cd4924205e815adf8f1b0df98965e804e7f.tar.gz
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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma/mv_xor.h b/drivers/dma/mv_xor.h
index 52ca617..05add24 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;
OpenPOWER on IntegriCloud