Commit 5dea3985 authored by Grygorii Strashko's avatar Grygorii Strashko Committed by David S. Miller

net: ethernet: ti: davinci_cpdma: use dma_addr_t for desc_mem_phys and desc_hw_addr

Use dma_addr_t for desc_mem_phys and desc_hw_addr to avoid types
conversions.
Signed-off-by: default avatarGrygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 814b4a67
...@@ -27,8 +27,8 @@ struct cpdma_params { ...@@ -27,8 +27,8 @@ struct cpdma_params {
int num_chan; int num_chan;
bool has_soft_reset; bool has_soft_reset;
int min_packet_size; int min_packet_size;
u32 desc_mem_phys; dma_addr_t desc_mem_phys;
u32 desc_hw_addr; dma_addr_t desc_hw_addr;
int desc_mem_size; int desc_mem_size;
int desc_align; int desc_align;
u32 bus_freq_mhz; u32 bus_freq_mhz;
......
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