diff options
author | Ivan Vecera | 2011-02-02 04:37:02 +0000 |
---|---|---|
committer | David S. Miller | 2011-02-02 15:41:25 -0800 |
commit | 5ea74318c68fcb38f02fc2fc920abd37d9a9bc33 (patch) | |
tree | 8d429282deb3a2bd6dcd0cabe0cc481eb8f2b5f6 /drivers/net/bna/bnad.h | |
parent | 8fe73503fae8cb8f00c80dd6444c1ddcd19257bd (diff) |
bna: use device model DMA API
Use DMA API as PCI equivalents will be deprecated.
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bna/bnad.h')
-rw-r--r-- | drivers/net/bna/bnad.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bna/bnad.h b/drivers/net/bna/bnad.h index 8b1d51557def..a89117fa4970 100644 --- a/drivers/net/bna/bnad.h +++ b/drivers/net/bna/bnad.h @@ -181,7 +181,7 @@ struct bnad_rx_info { /* Unmap queues for Tx / Rx cleanup */ struct bnad_skb_unmap { struct sk_buff *skb; - DECLARE_PCI_UNMAP_ADDR(dma_addr) + DEFINE_DMA_UNMAP_ADDR(dma_addr); }; struct bnad_unmap_q { |