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-Url: https://git.stricted.de/?a=commitdiff_plain;h=f8916c11a4dc4cb2367e9bee1788f4e0f1b4eabc;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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"