diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-11-15 15:36:37 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-11-20 15:59:00 +0100 |
commit | 9aedbdbab39c8aa58c0b2a0791fb10df6eebc123 (patch) | |
tree | ad8a80c2cdfbc891203dcbccd529e1be08fbbbae /include | |
parent | dma: mv_xor: remove useless backpointer from mv_xor_chan to mv_xor_device (diff) | |
download | linux-9aedbdbab39c8aa58c0b2a0791fb10df6eebc123.tar.xz linux-9aedbdbab39c8aa58c0b2a0791fb10df6eebc123.zip |
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')
-rw-r--r-- | include/linux/platform_data/dma-mv_xor.h | 1 |
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; }; |