diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-22 14:24:04 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 19:30:44 -0400 |
commit | ead53f22dc646d91a1b6201b9f44dd47d7d88c34 (patch) | |
tree | 75bc1a7120d3f10788580f41593822bf72a8a0c5 /arch/powerpc/platforms/iseries | |
parent | 4b16f8e2d6d64249f0ed3ca7fe2a319d0dde2719 (diff) |
powerpc: remove non-required uses of include <linux/module.h>
None of the files touched here are modules, and they are not
exporting any symbols either -- so there is no need to be including
the module.h. Builds of all the files remains successful.
Even kernel/module.c does not need to include it, since it includes
linux/moduleloader.h instead.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch/powerpc/platforms/iseries')
-rw-r--r-- | arch/powerpc/platforms/iseries/lpardata.c | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/iseries/pci.c | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/iseries/smp.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/iseries/lpardata.c b/arch/powerpc/platforms/iseries/lpardata.c index 98bd2d37038a..00e0ec813a1c 100644 --- a/arch/powerpc/platforms/iseries/lpardata.c +++ b/arch/powerpc/platforms/iseries/lpardata.c | |||
@@ -8,7 +8,6 @@ | |||
8 | */ | 8 | */ |
9 | #include <linux/types.h> | 9 | #include <linux/types.h> |
10 | #include <linux/threads.h> | 10 | #include <linux/threads.h> |
11 | #include <linux/module.h> | ||
12 | #include <linux/bitops.h> | 11 | #include <linux/bitops.h> |
13 | #include <asm/processor.h> | 12 | #include <asm/processor.h> |
14 | #include <asm/ptrace.h> | 13 | #include <asm/ptrace.h> |
diff --git a/arch/powerpc/platforms/iseries/pci.c b/arch/powerpc/platforms/iseries/pci.c index ab3962b0d246..c75412884625 100644 --- a/arch/powerpc/platforms/iseries/pci.c +++ b/arch/powerpc/platforms/iseries/pci.c | |||
@@ -29,7 +29,6 @@ | |||
29 | #include <linux/string.h> | 29 | #include <linux/string.h> |
30 | #include <linux/slab.h> | 30 | #include <linux/slab.h> |
31 | #include <linux/init.h> | 31 | #include <linux/init.h> |
32 | #include <linux/module.h> | ||
33 | #include <linux/pci.h> | 32 | #include <linux/pci.h> |
34 | #include <linux/of.h> | 33 | #include <linux/of.h> |
35 | #include <linux/ratelimit.h> | 34 | #include <linux/ratelimit.h> |
diff --git a/arch/powerpc/platforms/iseries/smp.c b/arch/powerpc/platforms/iseries/smp.c index 8bda9be06fa0..7e2a5515ed76 100644 --- a/arch/powerpc/platforms/iseries/smp.c +++ b/arch/powerpc/platforms/iseries/smp.c | |||
@@ -15,7 +15,6 @@ | |||
15 | #undef DEBUG | 15 | #undef DEBUG |
16 | 16 | ||
17 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
18 | #include <linux/module.h> | ||
19 | #include <linux/sched.h> | 18 | #include <linux/sched.h> |
20 | #include <linux/smp.h> | 19 | #include <linux/smp.h> |
21 | #include <linux/interrupt.h> | 20 | #include <linux/interrupt.h> |