Commit ba33162a2c3c847c02e42b9193b250217fdbbd9d

Authored by Paul Gortmaker
1 parent 08a999ce69

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

  1 +#include <linux/notifier.h>
1 2  
2 3 /**
3 4 * struct subsys_private - structure to hold the private to the driver core portions of the bus_type/class structure.