Skip to content

Commit

Permalink
[PATCH] ppc32: fix compilation error in include/asm/prom.h
Browse files Browse the repository at this point in the history
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

Signed-Off-By: Benoit Boissinot <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Benoit Boissinot authored and Linus Torvalds committed Apr 16, 2005
1 parent 51e6606 commit cd2c169
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/asm-ppc/prom.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cd2c169

Please sign in to comment.