aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4/mlx4.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@dev.mellanox.co.il>2007-07-09 20:12:20 -0700
committerRoland Dreier <rolandd@cisco.com>2007-07-09 20:12:20 -0700
commit525f5f44c487201c91a11904516ee56dea93644e (patch)
tree396282e71499eaa6f16b52c202310909f62300ed /drivers/net/mlx4/mlx4.h
parentIB/mlx4: Include linux/mutex.h from mlx4_ib.h (diff)
downloadlinux-dev-525f5f44c487201c91a11904516ee56dea93644e.tar.xz
linux-dev-525f5f44c487201c91a11904516ee56dea93644e.zip
mlx4_core: Include linux/mutex.h from mlx4.h
mlx4.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 to do 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>
Diffstat (limited to 'drivers/net/mlx4/mlx4.h')
-rw-r--r--drivers/net/mlx4/mlx4.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/mlx4/mlx4.h b/drivers/net/mlx4/mlx4.h
index 3d3b6d24d8d3..d9c91a71fc87 100644
--- a/drivers/net/mlx4/mlx4.h
+++ b/drivers/net/mlx4/mlx4.h
@@ -37,6 +37,7 @@
#ifndef MLX4_H
#define MLX4_H
+#include <linux/mutex.h>
#include <linux/radix-tree.h>
#include <linux/mlx4/device.h>