]> err.no Git - linux-2.6/commitdiff
IB/mlx4: Include linux/mutex.h from mlx4_ib.h
authorMichael S. Tsirkin <mst@dev.mellanox.co.il>
Mon, 11 Jun 2007 05:56:10 +0000 (08:56 +0300)
committerRoland Dreier <rolandd@cisco.com>
Mon, 9 Jul 2007 23:17:33 +0000 (16:17 -0700)
mlx4_ib.h uses struct mutex, so although <linux/mutex.h> seems to be
pulled in indirectly by one of the headers it includes, the right
thing is to include <linux/mutex.h> directly.

Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mlx4/mlx4_ib.h

index 24ccadd6e4f84dce47c206e6ac31179dd60f28f4..40b83914b7b2793b9ae5ec6dfd9259031c5f2adc 100644 (file)
@@ -35,6 +35,7 @@
 
 #include <linux/compiler.h>
 #include <linux/list.h>
+#include <linux/mutex.h>
 
 #include <rdma/ib_verbs.h>
 #include <rdma/ib_umem.h>