[openib-general] [PATCH] IB/uverbs: include cosmetic fix

Michael S. Tsirkin mst at mellanox.co.il
Tue Jul 25 22:22:51 PDT 2006


IB/uverbs: include cosmetic fix

Since uverbs_cmd.c uses lockdep now, it should include
linux/lockdep.h directly rather than rely on linux/file.h to pull
it in.

Signed-off-by: Michael S. Tsirkin <mst at mellanox.co.il>

diff --git a/drivers/infiniband/core/uverbs_cmd.c b/drivers/infiniband/core/uverbs_cmd.c
index 30923eb..3fbec94 100644
--- a/drivers/infiniband/core/uverbs_cmd.c
+++ b/drivers/infiniband/core/uverbs_cmd.c
@@ -37,6 +37,7 @@
 
 #include <linux/file.h>
 #include <linux/fs.h>
+#include <linux/lockdep.h>
 
 #include <asm/uaccess.h>
 

-- 
MST




More information about the general mailing list