]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers: base.h implicitly depends on <linux/notifier.h>
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 26 May 2011 22:08:35 +0000 (18:08 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 08:05:57 +0000 (04:05 -0400)
This file is currently relying on <linux/module.h> sneaking it in
through the twisted 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>
drivers/base/base.h

index a34dca0ad041713af58df661856195baaaf7ca63..21c1b96c34c6da46264cadfd8d38d7cb88571ba4 100644 (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.