Messages in this thread Patch in this message | | | From | Greg Kroah-Hartman <> | Subject | [PATCH 10/61] Driver core: include linux/mutex.h from attribute_container.c | Date | Wed, 11 Jul 2007 16:31:29 -0700 |
| |
From: Michael S. Tsirkin <mst@dev.mellanox.co.il>
attribute_container.c uses DEFINE_MUTEX, so while linux/mutex.h seems to be pulled in indirectly by one of the headers it includes, the right thing is to include linux/mutex.h directly.
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il> --- drivers/base/attribute_container.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/base/attribute_container.c b/drivers/base/attribute_container.c index 1ec0654..7370d7c 100644 --- a/drivers/base/attribute_container.c +++ b/drivers/base/attribute_container.c @@ -18,6 +18,7 @@ #include <linux/slab.h> #include <linux/list.h> #include <linux/module.h> +#include <linux/mutex.h> #include "base.h" -- 1.5.2.2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |