1
0
Fork 0

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>
hifive-unleashed-5.1
Paul Gortmaker 2011-05-26 18:08:35 -04:00
parent 08a999ce69
commit ba33162a2c
1 changed files with 1 additions and 0 deletions

View File

@ -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.