Skip to content

Commit 477e0f9

Browse files
author
Vinod Koul
committed
Merge branch 'topic/raid' into for-linus
2 parents 185a6cd + 0c0eb4c commit 477e0f9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/linux/dmaengine.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,11 @@ typedef void (*dma_async_tx_callback_result)(void *dma_async_param,
470470
const struct dmaengine_result *result);
471471

472472
struct dmaengine_unmap_data {
473+
#if IS_ENABLED(CONFIG_DMA_ENGINE_RAID)
474+
u16 map_cnt;
475+
#else
473476
u8 map_cnt;
477+
#endif
474478
u8 to_cnt;
475479
u8 from_cnt;
476480
u8 bidi_cnt;

0 commit comments

Comments
 (0)