summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-10-30 11:56:26 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-20 15:58:57 +0100
commite39f6ec1f9c1d6a7011adf6d95d8d80bad0586b1 (patch)
tree77aeb721c8fe3c252d9d9adfaadcaae8511394b0 /include/linux/platform_data
parent2ccc469cfecee291707dd50e5842cbf206bc17d7 (diff)
downloadop-kernel-dev-e39f6ec1f9c1d6a7011adf6d95d8d80bad0586b1.zip
op-kernel-dev-e39f6ec1f9c1d6a7011adf6d95d8d80bad0586b1.tar.gz
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 4a0980b..40ea3d5 100644
--- a/include/linux/platform_data/dma-mv_xor.h
+++ b/include/linux/platform_data/dma-mv_xor.h
@@ -12,14 +12,14 @@
#define MV_XOR_SHARED_NAME "mv_xor_shared"
-struct mv_xor_platform_data {
+struct mv_xor_channel_data {
int hw_id;
dma_cap_mask_t cap_mask;
size_t pool_size;
};
struct mv_xor_shared_platform_data {
- struct mv_xor_platform_data *channels;
+ struct mv_xor_channel_data *channels;
};
#endif
OpenPOWER on IntegriCloud