Skip to content

Commit

Permalink
IB: Include <linux/kref.h> explicitly in <rdma/ib_verbs.h>
Browse files Browse the repository at this point in the history
<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 <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
  • Loading branch information
Michael S. Tsirkin authored and Roland Dreier committed Feb 4, 2007
1 parent 62d0cfc commit 459d6e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/rdma/ib_verbs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 459d6e2

Please sign in to comment.