Commit 6d3c52b4 authored by Chas Williams's avatar Chas Williams Committed by David S. Miller

[ATM]: [fore200e] fix warnings related to dma_addr_t

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 27d21769
...@@ -565,7 +565,7 @@ typedef struct host_cmdq_entry { ...@@ -565,7 +565,7 @@ typedef struct host_cmdq_entry {
typedef struct chunk { typedef struct chunk {
void* alloc_addr; /* base address of allocated chunk */ void* alloc_addr; /* base address of allocated chunk */
void* align_addr; /* base address of aligned chunk */ void* align_addr; /* base address of aligned chunk */
u32 dma_addr; /* DMA address of aligned chunk */ dma_addr_t dma_addr; /* DMA address of aligned chunk */
int direction; /* direction of DMA mapping */ int direction; /* direction of DMA mapping */
u32 alloc_size; /* length of allocated chunk */ u32 alloc_size; /* length of allocated chunk */
u32 align_size; /* length of aligned chunk */ u32 align_size; /* length of aligned chunk */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment