Commit 7dde453d authored by Thomas Petazzoni's avatar Thomas Petazzoni

dma: mv_xor: rename mv_xor_shared_platform_data to mv_xor_platform_data

'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: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent e39f6ec1
...@@ -636,7 +636,7 @@ static struct mv_xor_channel_data orion_xor0_channels_data[2] = { ...@@ -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, .channels = orion_xor0_channels_data,
}; };
...@@ -711,7 +711,7 @@ static struct mv_xor_channel_data orion_xor1_channels_data[2] = { ...@@ -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, .channels = orion_xor1_channels_data,
}; };
......
...@@ -1254,7 +1254,7 @@ static int mv_xor_shared_probe(struct platform_device *pdev) ...@@ -1254,7 +1254,7 @@ static int mv_xor_shared_probe(struct platform_device *pdev)
{ {
const struct mbus_dram_target_info *dram; const struct mbus_dram_target_info *dram;
struct mv_xor_shared_private *msp; 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; struct resource *res;
int i, ret; int i, ret;
......
...@@ -18,7 +18,7 @@ struct mv_xor_channel_data { ...@@ -18,7 +18,7 @@ struct mv_xor_channel_data {
size_t pool_size; size_t pool_size;
}; };
struct mv_xor_shared_platform_data { struct mv_xor_platform_data {
struct mv_xor_channel_data *channels; struct mv_xor_channel_data *channels;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment