diff options
author | Kumar Gala <galak@freescale.com> | 2005-07-27 14:44:06 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 19:25:55 -0400 |
commit | d054b5acfe1f68460fe70aff5028ad95a7a38140 (patch) | |
tree | 516e1d017b38702b1f5cb0a712732770b41f7822 /arch/ppc/syslib | |
parent | 694e50db5d75f4c29011d7d15e069a95aded8af1 (diff) |
[PATCH] ppc32: Add proper prototype for cpm2_reset()
Added a proper prototype for cpm2_reset() which gets rid of a build
warning.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ppc/syslib')
-rw-r--r-- | arch/ppc/syslib/cpm2_common.c | 1 | ||||
-rw-r--r-- | arch/ppc/syslib/m8260_setup.c | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/arch/ppc/syslib/cpm2_common.c b/arch/ppc/syslib/cpm2_common.c index 4c19a4ac7163..cbac44b1620c 100644 --- a/arch/ppc/syslib/cpm2_common.c +++ b/arch/ppc/syslib/cpm2_common.c | |||
@@ -27,7 +27,6 @@ | |||
27 | #include <asm/mpc8260.h> | 27 | #include <asm/mpc8260.h> |
28 | #include <asm/page.h> | 28 | #include <asm/page.h> |
29 | #include <asm/pgtable.h> | 29 | #include <asm/pgtable.h> |
30 | #include <asm/immap_cpm2.h> | ||
31 | #include <asm/cpm2.h> | 30 | #include <asm/cpm2.h> |
32 | #include <asm/rheap.h> | 31 | #include <asm/rheap.h> |
33 | 32 | ||
diff --git a/arch/ppc/syslib/m8260_setup.c b/arch/ppc/syslib/m8260_setup.c index fda75d79050c..8f80a42dfdb7 100644 --- a/arch/ppc/syslib/m8260_setup.c +++ b/arch/ppc/syslib/m8260_setup.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <asm/io.h> | 24 | #include <asm/io.h> |
25 | #include <asm/pgtable.h> | 25 | #include <asm/pgtable.h> |
26 | #include <asm/mpc8260.h> | 26 | #include <asm/mpc8260.h> |
27 | #include <asm/immap_cpm2.h> | 27 | #include <asm/cpm2.h> |
28 | #include <asm/machdep.h> | 28 | #include <asm/machdep.h> |
29 | #include <asm/bootinfo.h> | 29 | #include <asm/bootinfo.h> |
30 | #include <asm/time.h> | 30 | #include <asm/time.h> |
@@ -33,7 +33,6 @@ | |||
33 | 33 | ||
34 | unsigned char __res[sizeof(bd_t)]; | 34 | unsigned char __res[sizeof(bd_t)]; |
35 | 35 | ||
36 | extern void cpm2_reset(void); | ||
37 | extern void pq2_find_bridges(void); | 36 | extern void pq2_find_bridges(void); |
38 | extern void pq2pci_init_irq(void); | 37 | extern void pq2pci_init_irq(void); |
39 | extern void idma_pci9_init(void); | 38 | extern void idma_pci9_init(void); |