Skip to content

Commit

Permalink
drivers/base: base.h implicitly depends on <linux/notifier.h>
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Gortmaker committed Oct 31, 2011
1 parent 08a999c commit ba33162
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/base/base.h
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit ba33162

Please sign in to comment.