diff options
author | Michael S. Tsirkin <mst@mellanox.co.il> | 2007-02-04 22:11:55 (GMT) |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-02-04 22:11:55 (GMT) |
commit | 459d6e2a541a5226825db998e627e0aa046aa257 (patch) | |
tree | d8b47ba3d3de7e009e0b068a2660f711d9385f6c | |
parent | 62d0cfcb27cf755cebdc93ca95dabc83608007cd (diff) | |
download | linux-fsl-qoriq-459d6e2a541a5226825db998e627e0aa046aa257.tar.xz |
IB: Include <linux/kref.h> explicitly in <rdma/ib_verbs.h>
<rdma/ib_verbs.h> uses struct kref, so it should include <linux/kref.h>
explicitly to avoid hidden include dependencies.
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
-rw-r--r-- | include/rdma/ib_verbs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index 0bfa332..73aafd7 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h @@ -45,6 +45,7 @@ #include <linux/device.h> #include <linux/mm.h> #include <linux/dma-mapping.h> +#include <linux/kref.h> #include <asm/atomic.h> #include <asm/scatterlist.h> |