Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344282
b: refs/heads/master
c: 9aedbdb
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Petazzoni committed Nov 20, 2012
1 parent 5ca33e3 commit 8d80d77
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c819ce177eb4dc796996618c1d53856cad1201ec
refs/heads/master: 9aedbdbab39c8aa58c0b2a0791fb10df6eebc123
4 changes: 0 additions & 4 deletions trunk/arch/arm/plat-orion/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -627,11 +627,9 @@ static struct resource orion_xor0_shared_resources[] = {

static struct mv_xor_channel_data orion_xor0_channels_data[2] = {
{
.hw_id = 0,
.pool_size = PAGE_SIZE,
},
{
.hw_id = 1,
.pool_size = PAGE_SIZE,
},
};
Expand Down Expand Up @@ -702,11 +700,9 @@ static struct resource orion_xor1_shared_resources[] = {

static struct mv_xor_channel_data orion_xor1_channels_data[2] = {
{
.hw_id = 0,
.pool_size = PAGE_SIZE,
},
{
.hw_id = 1,
.pool_size = PAGE_SIZE,
},
};
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/dma/mv_xor.c
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,7 @@ static int mv_xor_channel_remove(struct mv_xor_chan *mv_chan)
static struct mv_xor_chan *
mv_xor_channel_add(struct mv_xor_device *xordev,
struct platform_device *pdev,
int hw_id, dma_cap_mask_t cap_mask,
int idx, dma_cap_mask_t cap_mask,
size_t pool_size, int irq)
{
int ret = 0;
Expand All @@ -1101,7 +1101,7 @@ mv_xor_channel_add(struct mv_xor_device *xordev,
goto err_free_dma;
}

mv_chan->idx = hw_id;
mv_chan->idx = idx;

dma_dev = &mv_chan->dmadev;

Expand Down Expand Up @@ -1295,7 +1295,7 @@ static int mv_xor_probe(struct platform_device *pdev)
}

xordev->channels[i] =
mv_xor_channel_add(xordev, pdev, cd->hw_id,
mv_xor_channel_add(xordev, pdev, i,
cd->cap_mask,
cd->pool_size, irq);
if (IS_ERR(xordev->channels[i])) {
Expand Down
1 change: 0 additions & 1 deletion trunk/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_NAME "mv_xor"

struct mv_xor_channel_data {
int hw_id;
dma_cap_mask_t cap_mask;
size_t pool_size;
};
Expand Down

0 comments on commit 8d80d77

Please sign in to comment.