Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1
+1
drivers/base/transport_class.c
··· 27 27 * transport class is framed entirely in terms of generic devices to 28 28 * allow it to be used by any physical HBA in the system. 29 29 */ 30 + #include <linux/export.h> 30 31 #include <linux/attribute_container.h> 31 32 #include <linux/transport_class.h> 32 33