IB/core: Rename ib_query_ah to rdma_query_ah
[linux-2.6-block.git] / drivers / infiniband / hw / mlx4 / mcg.c
index 492eded88afbcc281a991f423c0a0eeb311791d6..eb009045643d59047cba1dedb71fb5d4af1a2994 100644 (file)
@@ -237,7 +237,7 @@ static int send_mad_to_slave(int slave, struct mlx4_ib_demux_ctx *ctx,
        if (!agent)
                return -EAGAIN;
 
-       ib_query_ah(dev->sm_ah[ctx->port - 1], &ah_attr);
+       rdma_query_ah(dev->sm_ah[ctx->port - 1], &ah_attr);
 
        if (ib_find_cached_pkey(&dev->ib_dev, ctx->port, IB_DEFAULT_PKEY_FULL, &wc.pkey_index))
                return -EINVAL;