dma: mv_xor: rename mv_xor_shared_platform_data to mv_xor_platform_data
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 30 Oct 2012 10:58:14 +0000 (11:58 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 20 Nov 2012 14:58:57 +0000 (15:58 +0100)
'struct mv_xor_shared_platform_data' used to be the platform_data
structure for the 'mv_xor_shared', but this driver is going to be
renamed simply 'mv_xor', so also rename its platform_data structure
accordingly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
arch/arm/plat-orion/common.c
drivers/dma/mv_xor.c
include/linux/platform_data/dma-mv_xor.h

index 7ffbe77c52cb98b01dee393ea3b2516082d91d80..edd57a68fa8c4467ccc2ab11aebef9c12df88ad9 100644 (file)
@@ -636,7 +636,7 @@ static struct mv_xor_channel_data orion_xor0_channels_data[2] = {
        },
 };
 
-static struct mv_xor_shared_platform_data orion_xor0_pdata = {
+static struct mv_xor_platform_data orion_xor0_pdata = {
        .channels = orion_xor0_channels_data,
 };
 
@@ -711,7 +711,7 @@ static struct mv_xor_channel_data orion_xor1_channels_data[2] = {
        },
 };
 
-static struct mv_xor_shared_platform_data orion_xor1_pdata = {
+static struct mv_xor_platform_data orion_xor1_pdata = {
        .channels = orion_xor1_channels_data,
 };
 
index c7926e4172813ce810e59cd1446276971bd791e1..ac598168b21f8d08eed6e624fb665101d58bd1dd 100644 (file)
@@ -1254,7 +1254,7 @@ static int mv_xor_shared_probe(struct platform_device *pdev)
 {
        const struct mbus_dram_target_info *dram;
        struct mv_xor_shared_private *msp;
-       struct mv_xor_shared_platform_data *pdata = pdev->dev.platform_data;
+       struct mv_xor_platform_data *pdata = pdev->dev.platform_data;
        struct resource *res;
        int i, ret;
 
index 40ea3d5f5b9f193bbed7b74a8fc14c0b267b5377..82a5f4b84afe6dec6948340f7056bdeda9d63148 100644 (file)
@@ -18,7 +18,7 @@ struct mv_xor_channel_data {
        size_t                          pool_size;
 };
 
-struct mv_xor_shared_platform_data {
+struct mv_xor_platform_data {
        struct mv_xor_channel_data    *channels;
 };