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: firefly_0821_release~28303^2~51 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f8916c11a4dc4cb2367e9bee1788f4e0f1b4eabc;p=firefly-linux-kernel-4.4.55.git 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 1ec0654665cf..7370d7cf5988 100644 --- a/drivers/base/attribute_container.c +++ b/drivers/base/attribute_container.c @@ -18,6 +18,7 @@ #include #include #include +#include #include "base.h"