diff options
author | Tim Schmielau <tim@physik3.uni-rostock.de> | 2005-10-30 18:03:48 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-30 20:37:32 -0500 |
commit | 4e57b6817880946a3a78d5d8cad1ace363f7e449 (patch) | |
tree | b6b5f3f9e8e52cc55d98239a4992e72e983c8fa4 /arch/arm/mach-iop3xx | |
parent | b0423a0d9cc836b2c3d796623cd19236bfedfe63 (diff) |
[PATCH] fix missing includes
I recently picked up my older work to remove unnecessary #includes of
sched.h, starting from a patch by Dave Jones to not include sched.h
from module.h. This reduces the number of indirect includes of sched.h
by ~300. Another ~400 pointless direct includes can be removed after
this disentangling (patch to follow later).
However, quite a few indirect includes need to be fixed up for this.
In order to feed the patches through -mm with as little disturbance as
possible, I've split out the fixes I accumulated up to now (complete for
i386 and x86_64, more archs to follow later) and post them before the real
patch. This way this large part of the patch is kept simple with only
adding #includes, and all hunks are independent of each other. So if any
hunk rejects or gets in the way of other patches, just drop it. My scripts
will pick it up again in the next round.
Signed-off-by: Tim Schmielau <tim@physik3.uni-rostock.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/arm/mach-iop3xx')
-rw-r--r-- | arch/arm/mach-iop3xx/iq31244-pci.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-iop3xx/iq80321-pci.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-iop3xx/iq80331-pci.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-iop3xx/iq80332-pci.c | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-iop3xx/iq31244-pci.c b/arch/arm/mach-iop3xx/iq31244-pci.c index f997daa800bf..c6a973ba8fc6 100644 --- a/arch/arm/mach-iop3xx/iq31244-pci.c +++ b/arch/arm/mach-iop3xx/iq31244-pci.c | |||
@@ -14,6 +14,8 @@ | |||
14 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
15 | #include <linux/pci.h> | 15 | #include <linux/pci.h> |
16 | #include <linux/init.h> | 16 | #include <linux/init.h> |
17 | #include <linux/string.h> | ||
18 | #include <linux/slab.h> | ||
17 | 19 | ||
18 | #include <asm/hardware.h> | 20 | #include <asm/hardware.h> |
19 | #include <asm/irq.h> | 21 | #include <asm/irq.h> |
diff --git a/arch/arm/mach-iop3xx/iq80321-pci.c b/arch/arm/mach-iop3xx/iq80321-pci.c index 79fea3d20b66..802f6d091b75 100644 --- a/arch/arm/mach-iop3xx/iq80321-pci.c +++ b/arch/arm/mach-iop3xx/iq80321-pci.c | |||
@@ -14,6 +14,8 @@ | |||
14 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
15 | #include <linux/pci.h> | 15 | #include <linux/pci.h> |
16 | #include <linux/init.h> | 16 | #include <linux/init.h> |
17 | #include <linux/string.h> | ||
18 | #include <linux/slab.h> | ||
17 | 19 | ||
18 | #include <asm/hardware.h> | 20 | #include <asm/hardware.h> |
19 | #include <asm/irq.h> | 21 | #include <asm/irq.h> |
diff --git a/arch/arm/mach-iop3xx/iq80331-pci.c b/arch/arm/mach-iop3xx/iq80331-pci.c index f37a0e26b466..654e450a1311 100644 --- a/arch/arm/mach-iop3xx/iq80331-pci.c +++ b/arch/arm/mach-iop3xx/iq80331-pci.c | |||
@@ -13,6 +13,8 @@ | |||
13 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
14 | #include <linux/pci.h> | 14 | #include <linux/pci.h> |
15 | #include <linux/init.h> | 15 | #include <linux/init.h> |
16 | #include <linux/string.h> | ||
17 | #include <linux/slab.h> | ||
16 | 18 | ||
17 | #include <asm/hardware.h> | 19 | #include <asm/hardware.h> |
18 | #include <asm/irq.h> | 20 | #include <asm/irq.h> |
diff --git a/arch/arm/mach-iop3xx/iq80332-pci.c b/arch/arm/mach-iop3xx/iq80332-pci.c index b9807aa2aade..65951ffe4631 100644 --- a/arch/arm/mach-iop3xx/iq80332-pci.c +++ b/arch/arm/mach-iop3xx/iq80332-pci.c | |||
@@ -13,6 +13,8 @@ | |||
13 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
14 | #include <linux/pci.h> | 14 | #include <linux/pci.h> |
15 | #include <linux/init.h> | 15 | #include <linux/init.h> |
16 | #include <linux/string.h> | ||
17 | #include <linux/slab.h> | ||
16 | 18 | ||
17 | #include <asm/hardware.h> | 19 | #include <asm/hardware.h> |
18 | #include <asm/irq.h> | 20 | #include <asm/irq.h> |