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>
This commit is contained in:
parent
c819ce177e
commit
9aedbdbab3
3 changed files with 3 additions and 8 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue