diff options
author | Michael S. Tsirkin <mst@dev.mellanox.co.il> | 2007-06-10 22:39:12 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-11 16:09:01 -0700 |
commit | f8916c11a4dc4cb2367e9bee1788f4e0f1b4eabc (patch) | |
tree | dc4aebaf3d8d2d13d3c3f369d181d9e297850364 /drivers/base/attribute_container.c | |
parent | 9e584a4fe58881e2dc8f09bdf8444b199ab5ecaf (diff) | |
download | linux-f8916c11a4dc4cb2367e9bee1788f4e0f1b4eabc.tar.gz linux-f8916c11a4dc4cb2367e9bee1788f4e0f1b4eabc.tar.bz2 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/attribute_container.c')
-rw-r--r-- | 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 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" |