diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-11-15 09:36:37 -0500 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-11-20 09:59:00 -0500 |
commit | 9aedbdbab39c8aa58c0b2a0791fb10df6eebc123 (patch) | |
tree | ad8a80c2cdfbc891203dcbccd529e1be08fbbbae /arch/arm/plat-orion | |
parent | c819ce177eb4dc796996618c1d53856cad1201ec (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')
-rw-r--r-- | arch/arm/plat-orion/common.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/plat-orion/common.c b/arch/arm/plat-orion/common.c index 31517cef8c4d..09d836060bf4 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[] = { | |||
627 | 627 | ||
628 | static struct mv_xor_channel_data orion_xor0_channels_data[2] = { | 628 | static struct mv_xor_channel_data orion_xor0_channels_data[2] = { |
629 | { | 629 | { |
630 | .hw_id = 0, | ||
631 | .pool_size = PAGE_SIZE, | 630 | .pool_size = PAGE_SIZE, |
632 | }, | 631 | }, |
633 | { | 632 | { |
634 | .hw_id = 1, | ||
635 | .pool_size = PAGE_SIZE, | 633 | .pool_size = PAGE_SIZE, |
636 | }, | 634 | }, |
637 | }; | 635 | }; |
@@ -702,11 +700,9 @@ static struct resource orion_xor1_shared_resources[] = { | |||
702 | 700 | ||
703 | static struct mv_xor_channel_data orion_xor1_channels_data[2] = { | 701 | static struct mv_xor_channel_data orion_xor1_channels_data[2] = { |
704 | { | 702 | { |
705 | .hw_id = 0, | ||
706 | .pool_size = PAGE_SIZE, | 703 | .pool_size = PAGE_SIZE, |
707 | }, | 704 | }, |
708 | { | 705 | { |
709 | .hw_id = 1, | ||
710 | .pool_size = PAGE_SIZE, | 706 | .pool_size = PAGE_SIZE, |
711 | }, | 707 | }, |
712 | }; | 708 | }; |