Skip to content

Commit

Permalink
dma: mv_xor: remove 'shared' from mv_xor_platform_data
Browse files Browse the repository at this point in the history
This member of the platform_data structure is no longer used, so get
rid of it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  • Loading branch information
Thomas Petazzoni committed Nov 20, 2012
1 parent 18b2a02 commit 2ccc469
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions arch/arm/plat-orion/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -625,16 +625,12 @@ static struct resource orion_xor0_shared_resources[] = {
},
};

static struct platform_device orion_xor0_shared;

static struct mv_xor_platform_data orion_xor0_channels_pdata[2] = {
{
.shared = &orion_xor0_shared,
.hw_id = 0,
.pool_size = PAGE_SIZE,
},
{
.shared = &orion_xor0_shared,
.hw_id = 1,
.pool_size = PAGE_SIZE,
},
Expand Down Expand Up @@ -704,16 +700,12 @@ static struct resource orion_xor1_shared_resources[] = {
},
};

static struct platform_device orion_xor1_shared;

static struct mv_xor_platform_data orion_xor1_channels_pdata[2] = {
{
.shared = &orion_xor1_shared,
.hw_id = 0,
.pool_size = PAGE_SIZE,
},
{
.shared = &orion_xor1_shared,
.hw_id = 1,
.pool_size = PAGE_SIZE,
},
Expand Down
1 change: 0 additions & 1 deletion include/linux/platform_data/dma-mv_xor.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#define MV_XOR_SHARED_NAME "mv_xor_shared"

struct mv_xor_platform_data {
struct platform_device *shared;
int hw_id;
dma_cap_mask_t cap_mask;
size_t pool_size;
Expand Down

0 comments on commit 2ccc469

Please sign in to comment.