diff options
| author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-11-15 09:36:37 -0500 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-11-20 09:59:00 -0500 |
| commit | 9aedbdbab39c8aa58c0b2a0791fb10df6eebc123 (patch) | |
| tree | ad8a80c2cdfbc891203dcbccd529e1be08fbbbae /include/linux/platform_data | |
| parent | c819ce177eb4dc796996618c1d53856cad1201ec (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')
| -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 @@ | |||
| 13 | #define MV_XOR_NAME "mv_xor" | 13 | #define MV_XOR_NAME "mv_xor" |
| 14 | 14 | ||
| 15 | struct mv_xor_channel_data { | 15 | struct mv_xor_channel_data { |
| 16 | int hw_id; | ||
| 17 | dma_cap_mask_t cap_mask; | 16 | dma_cap_mask_t cap_mask; |
| 18 | size_t pool_size; | 17 | size_t pool_size; |
| 19 | }; | 18 | }; |
