summaryrefslogtreecommitdiffstats
path: root/kernel/module.c
diff options
context:
space:
mode:
authorPaul Gortmaker2011-05-23 20:51:41 +0200
committerPaul Gortmaker2011-10-31 14:20:12 +0100
commit9984de1a5a8a96275fcab818f7419af5a3c86e71 (patch)
tree1935d411752707a1621c5caf64f75dfe105beb3a /kernel/module.c
parentmm: fix implicit stat.h usage in dmapool.c (diff)
downloadkernel-qcow2-linux-9984de1a5a8a96275fcab818f7419af5a3c86e71.tar.gz
kernel-qcow2-linux-9984de1a5a8a96275fcab818f7419af5a3c86e71.tar.xz
kernel-qcow2-linux-9984de1a5a8a96275fcab818f7419af5a3c86e71.zip
kernel: Map most files to use export.h instead of module.h
The changed files were only including linux/module.h for the EXPORT_SYMBOL infrastructure, and nothing else. Revector them onto the isolated export header for faster compile times. Nothing to see here but a whole lot of instances of: -#include <linux/module.h> +#include <linux/export.h> This commit is only changing the kernel dir; next targets will probably be mm, fs, the arch dirs, etc. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'kernel/module.c')
-rw-r--r--kernel/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/module.c b/kernel/module.c
index 93342d992f34..84205ae1607a 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -16,7 +16,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <linux/module.h>
+#include <linux/export.h>
#include <linux/moduleloader.h>
#include <linux/ftrace_event.h>
#include <linux/init.h>