From: Paul Gortmaker Date: Thu, 26 May 2011 22:08:35 +0000 (-0400) Subject: drivers/base: base.h implicitly depends on X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=ba33162a2c3c847c02e42b9193b250217fdbbd9d;p=~shefty%2Frdma-dev.git drivers/base: base.h implicitly depends on This file is currently relying on sneaking it in through the implicit include paths from device.h. Once that is cleaned up, this will happen: In file included from drivers/base/init.c:12: drivers/base/base.h:34: error: field ‘bus_notifier’ has incomplete type make[3]: *** [drivers/base/init.o] Error 1 Fix it up in advance, so the cleanup can continue. Signed-off-by: Paul Gortmaker --- diff --git a/drivers/base/base.h b/drivers/base/base.h index a34dca0ad04..21c1b96c34c 100644 --- a/drivers/base/base.h +++ b/drivers/base/base.h @@ -1,3 +1,4 @@ +#include /** * struct subsys_private - structure to hold the private to the driver core portions of the bus_type/class structure.