]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/base: 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>
Mon, 31 Oct 2011 23:31:39 +0000 (19:31 -0400)
commit391875426433e0acb3d47445ce911c17cb8af825
tree4c26b5ae8f0807c2ce62ed0d389b595fb0e94c00
parentf0c2a5d446a7d6986b04944a7428fd124a471b5e
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>
drivers/base/base.h