mlx4_core: Include linux/mutex.h from mlx4.h
authorMichael S. Tsirkin <mst@dev.mellanox.co.il>
Tue, 10 Jul 2007 03:12:20 +0000 (20:12 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 10 Jul 2007 03:12:20 +0000 (20:12 -0700)
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>
drivers/net/mlx4/mlx4.h

index 3d3b6d2..d9c91a7 100644 (file)
@@ -37,6 +37,7 @@
 #ifndef MLX4_H
 #define MLX4_H
 
+#include <linux/mutex.h>
 #include <linux/radix-tree.h>
 
 #include <linux/mlx4/device.h>