diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-05-26 22:08:35 (GMT) |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 23:31:39 (GMT) |
commit | ba33162a2c3c847c02e42b9193b250217fdbbd9d (patch) | |
tree | 4c26b5ae8f0807c2ce62ed0d389b595fb0e94c00 | |
parent | 08a999ce69c17802d92ad760faa21ce112968172 (diff) | |
download | linux-ba33162a2c3c847c02e42b9193b250217fdbbd9d.tar.xz |
drivers/base: base.h implicitly depends on <linux/notifier.h>
This file is currently relying on <linux/module.h> 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 <paul.gortmaker@windriver.com>
-rw-r--r-- | drivers/base/base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/base.h b/drivers/base/base.h index a34dca0..21c1b96 100644 --- a/drivers/base/base.h +++ b/drivers/base/base.h @@ -1,3 +1,4 @@ +#include <linux/notifier.h> /** * struct subsys_private - structure to hold the private to the driver core portions of the bus_type/class structure. |