Patchwork [2/2] sparc32: Remove superfluous extern declarations for prom_*() functions

login
register
mail settings
Submitter Geert Uytterhoeven
Date June 20, 2012, 4:58 p.m.
Message ID <1340211487-24534-2-git-send-email-geert@linux-m68k.org>
Download mbox | patch
Permalink /patch/166124/
State Accepted
Delegated to: David Miller
Headers show

Comments

Geert Uytterhoeven - June 20, 2012, 4:58 p.m.
prom_meminit() and prom_ranges_init() are declared in <asm/oplib_32.h>.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
--
Not even compile-tested

 arch/sparc/prom/init_32.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
David Miller - June 27, 2012, 8:35 a.m.
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Wed, 20 Jun 2012 18:58:07 +0200

> prom_meminit() and prom_ranges_init() are declared in <asm/oplib_32.h>.
> 
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/arch/sparc/prom/init_32.c b/arch/sparc/prom/init_32.c
index a8d9342..9ac30c2 100644
--- a/arch/sparc/prom/init_32.c
+++ b/arch/sparc/prom/init_32.c
@@ -31,9 +31,6 @@  struct linux_nodeops *prom_nodeops;
  * It gets passed the pointer to the PROM vector.
  */
 
-extern void prom_meminit(void);
-extern void prom_ranges_init(void);
-
 void __init prom_init(struct linux_romvec *rp)
 {
 	romvec = rp;