diff options
author | Michael S. Tsirkin <mst@dev.mellanox.co.il> | 2007-07-10 05:12:20 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-07-10 05:12:20 +0200 |
commit | 525f5f44c487201c91a11904516ee56dea93644e (patch) | |
tree | 396282e71499eaa6f16b52c202310909f62300ed /drivers/net | |
parent | IB/mlx4: Include linux/mutex.h from mlx4_ib.h (diff) | |
download | linux-525f5f44c487201c91a11904516ee56dea93644e.tar.xz linux-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')
-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 @@ #ifndef MLX4_H #define MLX4_H +#include <linux/mutex.h> #include <linux/radix-tree.h> #include <linux/mlx4/device.h> |