summaryrefslogtreecommitdiffstats
path: root/drivers/base/base.h
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-05-27 00:08:35 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-01 00:31:39 +0100
commitba33162a2c3c847c02e42b9193b250217fdbbd9d (patch)
tree4c26b5ae8f0807c2ce62ed0d389b595fb0e94c00 /drivers/base/base.h
parentdrivers/base: dma-coherent.c is a module and needs module.h (diff)
downloadlinux-ba33162a2c3c847c02e42b9193b250217fdbbd9d.tar.xz
linux-ba33162a2c3c847c02e42b9193b250217fdbbd9d.zip
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>
Diffstat (limited to '')
-rw-r--r--drivers/base/base.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/base.h b/drivers/base/base.h
index a34dca0ad041..21c1b96c34c6 100644
--- a/drivers/base/base.h
+++ b/drivers/base/base.h
@@ -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.