summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/dma-mv_xor.h
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-15 15:36:37 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-20 15:59:00 +0100
commit9aedbdbab39c8aa58c0b2a0791fb10df6eebc123 (patch)
treead8a80c2cdfbc891203dcbccd529e1be08fbbbae /include/linux/platform_data/dma-mv_xor.h
parentc819ce177eb4dc796996618c1d53856cad1201ec (diff)
dma: mv_xor: remove hw_id field from platform_data
There is no need for the platform_data to give this ID, it is simply the channel number, so we can compute it inside the driver when registering the channels. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'include/linux/platform_data/dma-mv_xor.h')
-rw-r--r--include/linux/platform_data/dma-mv_xor.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/platform_data/dma-mv_xor.h b/include/linux/platform_data/dma-mv_xor.h
index 367bb216c4a7..b18dc2496186 100644
--- a/include/linux/platform_data/dma-mv_xor.h
+++ b/include/linux/platform_data/dma-mv_xor.h
@@ -13,7 +13,6 @@
#define MV_XOR_NAME "mv_xor"
struct mv_xor_channel_data {
- int hw_id;
dma_cap_mask_t cap_mask;
size_t pool_size;
};