diff options
Diffstat (limited to 'drivers/net/bnx2x.h')
-rw-r--r-- | drivers/net/bnx2x.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h index 3c48a7a68308..ae9c89ebcc8b 100644 --- a/drivers/net/bnx2x.h +++ b/drivers/net/bnx2x.h | |||
@@ -163,7 +163,7 @@ do { \ | |||
163 | 163 | ||
164 | struct sw_rx_bd { | 164 | struct sw_rx_bd { |
165 | struct sk_buff *skb; | 165 | struct sk_buff *skb; |
166 | DECLARE_PCI_UNMAP_ADDR(mapping) | 166 | DEFINE_DMA_UNMAP_ADDR(mapping); |
167 | }; | 167 | }; |
168 | 168 | ||
169 | struct sw_tx_bd { | 169 | struct sw_tx_bd { |
@@ -176,7 +176,7 @@ struct sw_tx_bd { | |||
176 | 176 | ||
177 | struct sw_rx_page { | 177 | struct sw_rx_page { |
178 | struct page *page; | 178 | struct page *page; |
179 | DECLARE_PCI_UNMAP_ADDR(mapping) | 179 | DEFINE_DMA_UNMAP_ADDR(mapping); |
180 | }; | 180 | }; |
181 | 181 | ||
182 | union db_prod { | 182 | union db_prod { |