powerpc: various straight conversions from module.h --> export.h
All these files were including module.h just for the basic EXPORT_SYMBOL infrastructure. We can shift them off to the export.h header which is a way smaller footprint and thus realize some compile time gains. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
*
|
||||
* Author: Anton Blanchard <anton@au.ibm.com>
|
||||
*/
|
||||
#include <linux/module.h>
|
||||
#include <linux/export.h>
|
||||
#include <linux/compiler.h>
|
||||
#include <linux/types.h>
|
||||
#include <asm/checksum.h>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
#include <linux/device.h> /* devres_*(), devm_ioremap_release() */
|
||||
#include <linux/gfp.h>
|
||||
#include <linux/io.h> /* ioremap_prot() */
|
||||
#include <linux/module.h> /* EXPORT_SYMBOL() */
|
||||
#include <linux/export.h> /* EXPORT_SYMBOL() */
|
||||
|
||||
/**
|
||||
* devm_ioremap_prot - Managed ioremap_prot()
|
||||
|
@@ -14,7 +14,7 @@
|
||||
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/export.h>
|
||||
#include <linux/stringify.h>
|
||||
#include <linux/smp.h>
|
||||
|
||||
|
@@ -15,7 +15,7 @@
|
||||
#include <linux/types.h>
|
||||
#include <linux/errno.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/export.h>
|
||||
#include <linux/mm.h>
|
||||
#include <linux/err.h>
|
||||
#include <linux/slab.h>
|
||||
|
Viittaa uudesa ongelmassa
Block a user