aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-05-26 16:00:52 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:31:15 -0400
commiteef9c3d90bafa1cb0dd397cee400fab21b39abfe (patch)
tree6f23a71132838af539abaf6bd898505c086d6f78 /drivers/base
parent9775913fa05c57b046aa076ae03881f8ee66742b (diff)
downloadkernel_samsung_smdk4412-eef9c3d90bafa1cb0dd397cee400fab21b39abfe.zip
kernel_samsung_smdk4412-eef9c3d90bafa1cb0dd397cee400fab21b39abfe.tar.gz
kernel_samsung_smdk4412-eef9c3d90bafa1cb0dd397cee400fab21b39abfe.tar.bz2
drivers/base: transport_class explicitly requires EXPORT_SYMBOL
This file was getting <linux/module.h> via an implicit include path, but we want to crush those out of existence since they cost time during compiles of processing thousands of lines of headers for no reason. Give it the lightweight header that just contains the EXPORT_SYMBOL infrastructure. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/transport_class.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/transport_class.c b/drivers/base/transport_class.c
index 84997ef..f6c453c 100644
--- a/drivers/base/transport_class.c
+++ b/drivers/base/transport_class.c
@@ -27,6 +27,7 @@
* transport class is framed entirely in terms of generic devices to
* allow it to be used by any physical HBA in the system.
*/
+#include <linux/export.h>
#include <linux/attribute_container.h>
#include <linux/transport_class.h>