cxgb4vf: remove obsolete DECLARE_PCI_UNMAP_ADDR usage
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Wed, 7 Jul 2010 23:52:37 +0000 (23:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Jul 2010 06:12:26 +0000 (23:12 -0700)
commit57b2eaf7ddeae307fac202d82a6fabf5976e575b
treeca5a33d97d8ff165e7067bb39c92c7c246374d0f
parenta204b48ed4dc31acf61090e530430ce3272b6aab
cxgb4vf: remove obsolete DECLARE_PCI_UNMAP_ADDR usage

We could use DEFINE_DMA_UNMAP_ADDR instead but using
CONFIG_NEED_DMA_MAP_STATE is a simpler way to see if a platform does
real DMA unmapping.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb4vf/sge.c