summaryrefslogtreecommitdiffstats
path: root/drivers/base/attribute_container.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@dev.mellanox.co.il>2007-06-10 22:39:12 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2007-07-11 16:09:01 -0700
commitf8916c11a4dc4cb2367e9bee1788f4e0f1b4eabc (patch)
treedc4aebaf3d8d2d13d3c3f369d181d9e297850364 /drivers/base/attribute_container.c
parent9e584a4fe58881e2dc8f09bdf8444b199ab5ecaf (diff)
downloadop-kernel-dev-f8916c11a4dc4cb2367e9bee1788f4e0f1b4eabc.zip
op-kernel-dev-f8916c11a4dc4cb2367e9bee1788f4e0f1b4eabc.tar.gz
Driver core: include linux/mutex.h from attribute_container.c
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>
Diffstat (limited to 'drivers/base/attribute_container.c')
-rw-r--r--drivers/base/attribute_container.c1
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"
OpenPOWER on IntegriCloud