Skip to contentSkip to conversation

ppc32: fix compilation error in include/asm/prom.h

PATCH In review [email protected] 1 participant 1 message Apr 12, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 42/198 ppc32: fix compilation error in include/asm/prom.h

From: Benoit Boissinot <[email protected]>

make defconfig give the following error on ppc (gcc-4):

arch/ppc/syslib/prom_init.c:120: error: static declaration of ‘prom_display_paths’ follows non-static declaration include/asm/prom.h:17: error: previous declaration of ‘prom_display_paths’ was here arch/ppc/syslib/prom_init.c:122: error: static declaration of ‘prom_num_displays’ follows non-static declaration include/asm/prom.h:18: error: previous declaration of ‘prom_num_displays’ was here

---

 25-akpm/include/asm-ppc/prom.h |    3 ---
 1 files changed, 3 deletions(-)
include/asm-ppc/prom.h renamed from include/asm-ppc/prom.h~ppc32-fix-compilation-error-in-include-asm-promh +0 -3
diff -puN include/asm-ppc/prom.h~ppc32-fix-compilation-error-in-include-asm-promh include/asm-ppc/prom.h
@@ -14,9 +14,6 @@
 typedef u32 phandle;
 typedef u32 ihandle;
 
-extern char *prom_display_paths[];
-extern unsigned int prom_num_displays;
-
 struct address_range {
 	unsigned int space;
 	unsigned int address;

_