From: Michael S. Tsirkin Date: Sun, 10 Jun 2007 19:39:12 +0000 (+0300) Subject: Driver core: include linux/mutex.h from attribute_container.c X-Git-Tag: v2.6.23-rc1~1107^2~51 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8916c11a4dc4cb2367e9bee1788f4e0f1b4eabc;p=linux-2.6 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 --- diff --git a/drivers/base/attribute_container.c b/drivers/base/attribute_container.c index 1ec0654665..7370d7cf59 100644 --- a/drivers/base/attribute_container.c +++ b/drivers/base/attribute_container.c @@ -18,6 +18,7 @@ #include #include #include +#include #include "base.h"