dma: mv_xor: remove 'shared' from mv_xor_platform_data
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 31 Oct 2012 12:24:41 +0000 (13:24 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 20 Nov 2012 14:58:56 +0000 (15:58 +0100)
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>
arch/arm/plat-orion/common.c
include/linux/platform_data/dma-mv_xor.h

index c6e6666986ff1c56809729a5f11d39666ec8ce6d..5a66211d523c2d773bf279ff6999a9d1f40367ba 100644 (file)
@@ -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,
        },
@@ -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,
        },
index 6abe5f9326b6975029ae88f3c6cc9a003915e248..4a0980b14c9b1afcd399305ed35904307919f12c 100644 (file)
@@ -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;