aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/amso1100/c2_mq.h
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2010-04-21 15:23:10 -0700
committerRoland Dreier <rolandd@cisco.com>2010-04-21 15:23:10 -0700
commite7494440573d9d7b5cb0e7ed9ae7d742226583de (patch)
treef38add1aeb0dc6a0216a8ff500b2719af1bcb0a6 /drivers/infiniband/hw/amso1100/c2_mq.h
parent0eddb519b9127c73d53db4bf3ec1d45b13f844d1 (diff)
downloadkernel_samsung_smdk4412-e7494440573d9d7b5cb0e7ed9ae7d742226583de.zip
kernel_samsung_smdk4412-e7494440573d9d7b5cb0e7ed9ae7d742226583de.tar.gz
kernel_samsung_smdk4412-e7494440573d9d7b5cb0e7ed9ae7d742226583de.tar.bz2
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>
Diffstat (limited to 'drivers/infiniband/hw/amso1100/c2_mq.h')
-rw-r--r--drivers/infiniband/hw/amso1100/c2_mq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/amso1100/c2_mq.h b/drivers/infiniband/hw/amso1100/c2_mq.h
index acede00..fc1b9a7 100644
--- a/drivers/infiniband/hw/amso1100/c2_mq.h
+++ b/drivers/infiniband/hw/amso1100/c2_mq.h
@@ -71,7 +71,7 @@ struct c2_mq {
u8 __iomem *adapter;
} msg_pool;
dma_addr_t host_dma;
- DECLARE_PCI_UNMAP_ADDR(mapping);
+ DEFINE_DMA_UNMAP_ADDR(mapping);
u16 hint_count;
u16 priv;
struct c2_mq_shared __iomem *peer;