diff options
author | Ivan Vecera <ivecera@redhat.com> | 2011-02-01 23:37:02 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-02 18:41:25 -0500 |
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 { | |||
181 | /* Unmap queues for Tx / Rx cleanup */ | 181 | /* Unmap queues for Tx / Rx cleanup */ |
182 | struct bnad_skb_unmap { | 182 | struct bnad_skb_unmap { |
183 | struct sk_buff *skb; | 183 | struct sk_buff *skb; |
184 | DECLARE_PCI_UNMAP_ADDR(dma_addr) | 184 | DEFINE_DMA_UNMAP_ADDR(dma_addr); |
185 | }; | 185 | }; |
186 | 186 | ||
187 | struct bnad_unmap_q { | 187 | struct bnad_unmap_q { |