Skip to content

Commit

Permalink
Driver core: include linux/mutex.h from attribute_container.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael S. Tsirkin authored and Greg Kroah-Hartman committed Jul 11, 2007
1 parent 9e584a4 commit f8916c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/base/attribute_container.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <linux/slab.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/mutex.h>

#include "base.h"

Expand Down

0 comments on commit f8916c1

Please sign in to comment.