aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-10-30 06:56:26 -0400
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-20 09:58:57 -0500
commite39f6ec1f9c1d6a7011adf6d95d8d80bad0586b1 (patch)
tree77aeb721c8fe3c252d9d9adfaadcaae8511394b0 /include/linux/platform_data
parent2ccc469cfecee291707dd50e5842cbf206bc17d7 (diff)
dma: mv_xor: rename mv_xor_platform_data to mv_xor_channel_data
mv_xor_platform_data used to be the platform_data structure associated to the 'mv_xor' driver. This driver no longer exists, and this data structure really contains the properties of each XOR channel part of a given XOR engine. Therefore 'struct mv_xor_channel_data' is a more appropriate name. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/dma-mv_xor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/platform_data/dma-mv_xor.h b/include/linux/platform_data/dma-mv_xor.h
index 4a0980b14c9..40ea3d5f5b9 100644
--- a/include/linux/platform_data/dma-mv_xor.h
+++ b/include/linux/platform_data/dma-mv_xor.h
@@ -12,14 +12,14 @@
12 12
13#define MV_XOR_SHARED_NAME "mv_xor_shared" 13#define MV_XOR_SHARED_NAME "mv_xor_shared"
14 14
15struct mv_xor_platform_data { 15struct mv_xor_channel_data {
16 int hw_id; 16 int hw_id;
17 dma_cap_mask_t cap_mask; 17 dma_cap_mask_t cap_mask;
18 size_t pool_size; 18 size_t pool_size;
19}; 19};
20 20
21struct mv_xor_shared_platform_data { 21struct mv_xor_shared_platform_data {
22 struct mv_xor_platform_data *channels; 22 struct mv_xor_channel_data *channels;
23}; 23};
24 24
25#endif 25#endif