aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-15 09:55:30 -0500
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-20 09:59:00 -0500
commitb503fa01990f6875640339d8f4ba98dbc068f821 (patch)
tree7364cad331b4b2a06622716f28398b8c05b69730 /arch
parent9aedbdbab39c8aa58c0b2a0791fb10df6eebc123 (diff)
dma: mv_xor: remove the pool_size from platform_data
The pool_size is always PAGE_SIZE, and since it is a software configuration paramter (and not a hardware description parameter), we cannot make it part of the Device Tree binding, so we'd better remove it from the platform_data as well. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/plat-orion/common.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/arch/arm/plat-orion/common.c b/arch/arm/plat-orion/common.c
index 09d836060bf4..2d4b6414609f 100644
--- a/arch/arm/plat-orion/common.c
+++ b/arch/arm/plat-orion/common.c
@@ -625,14 +625,7 @@ static struct resource orion_xor0_shared_resources[] = {
625 }, 625 },
626}; 626};
627 627
628static struct mv_xor_channel_data orion_xor0_channels_data[2] = { 628static struct mv_xor_channel_data orion_xor0_channels_data[2];
629 {
630 .pool_size = PAGE_SIZE,
631 },
632 {
633 .pool_size = PAGE_SIZE,
634 },
635};
636 629
637static struct mv_xor_platform_data orion_xor0_pdata = { 630static struct mv_xor_platform_data orion_xor0_pdata = {
638 .channels = orion_xor0_channels_data, 631 .channels = orion_xor0_channels_data,
@@ -698,14 +691,7 @@ static struct resource orion_xor1_shared_resources[] = {
698 }, 691 },
699}; 692};
700 693
701static struct mv_xor_channel_data orion_xor1_channels_data[2] = { 694static struct mv_xor_channel_data orion_xor1_channels_data[2];
702 {
703 .pool_size = PAGE_SIZE,
704 },
705 {
706 .pool_size = PAGE_SIZE,
707 },
708};
709 695
710static struct mv_xor_platform_data orion_xor1_pdata = { 696static struct mv_xor_platform_data orion_xor1_pdata = {
711 .channels = orion_xor1_channels_data, 697 .channels = orion_xor1_channels_data,