summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-orion/common.c
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-15 15:36:37 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-20 15:59:00 +0100
commit9aedbdbab39c8aa58c0b2a0791fb10df6eebc123 (patch)
treead8a80c2cdfbc891203dcbccd529e1be08fbbbae /arch/arm/plat-orion/common.c
parentc819ce177eb4dc796996618c1d53856cad1201ec (diff)
dma: mv_xor: remove hw_id field from platform_data
There is no need for the platform_data to give this ID, it is simply the channel number, so we can compute it inside the driver when registering the channels. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'arch/arm/plat-orion/common.c')
-rw-r--r--arch/arm/plat-orion/common.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/plat-orion/common.c b/arch/arm/plat-orion/common.c
index 31517cef8c4..09d836060bf 100644
--- a/arch/arm/plat-orion/common.c
+++ b/arch/arm/plat-orion/common.c
@@ -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,
},
};
@@ -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,
},
};