diff options
author | Michael S. Tsirkin <mst@dev.mellanox.co.il> | 2007-07-09 23:12:20 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-07-09 23:12:20 -0400 |
commit | 525f5f44c487201c91a11904516ee56dea93644e (patch) | |
tree | 396282e71499eaa6f16b52c202310909f62300ed /drivers/net/mlx4 | |
parent | 63019d9329628a5056b3a0c76aee955873dc25c3 (diff) |
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')
-rw-r--r-- | drivers/net/mlx4/mlx4.h | 1 |
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 @@ | |||
37 | #ifndef MLX4_H | 37 | #ifndef MLX4_H |
38 | #define MLX4_H | 38 | #define MLX4_H |
39 | 39 | ||
40 | #include <linux/mutex.h> | ||
40 | #include <linux/radix-tree.h> | 41 | #include <linux/radix-tree.h> |
41 | 42 | ||
42 | #include <linux/mlx4/device.h> | 43 | #include <linux/mlx4/device.h> |