summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@dev.mellanox.co.il>2007-06-10 21:39:12 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2007-07-12 01:09:01 +0200
commitf8916c11a4dc4cb2367e9bee1788f4e0f1b4eabc (patch)
treedc4aebaf3d8d2d13d3c3f369d181d9e297850364 /drivers/base
parentPM: Simplify suspend_device (diff)
downloadlinux-f8916c11a4dc4cb2367e9bee1788f4e0f1b4eabc.tar.xz
linux-f8916c11a4dc4cb2367e9bee1788f4e0f1b4eabc.zip
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')
-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 1ec0654665cf..7370d7cf5988 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"