RDMA/amso1100: Use the dma state API instead of pci equivalents
The DMA API is preferred; no functional change. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: Roland Dreier <rolandd@cisco.com>
This commit is contained in:

committed by
Roland Dreier

parent
0eddb519b9
commit
e749444057
@@ -250,7 +250,7 @@ struct c2_array {
|
||||
struct sp_chunk {
|
||||
struct sp_chunk *next;
|
||||
dma_addr_t dma_addr;
|
||||
DECLARE_PCI_UNMAP_ADDR(mapping);
|
||||
DEFINE_DMA_UNMAP_ADDR(mapping);
|
||||
u16 head;
|
||||
u16 shared_ptr[0];
|
||||
};
|
||||
|
Reference in New Issue
Block a user