projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e584a4
)
Driver core: include linux/mutex.h from attribute_container.c
author
Michael S. Tsirkin
<mst@dev.mellanox.co.il>
Sun, 10 Jun 2007 19:39:12 +0000
(22:39 +0300)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 11 Jul 2007 23:09:01 +0000
(16:09 -0700)
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
patch
|
blob
|
history
diff --git
a/drivers/base/attribute_container.c
b/drivers/base/attribute_container.c
index 1ec0654665cfd97098aabcb54e16e66ac8e1aa0b..7370d7cf59888050d374d7a48a03185a06f0df7c 100644
(file)
--- 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"