Skip to content

Commit

Permalink
[PATCH] ppc32: fix compilation error in arch/ppc/syslib/open_pic_defs.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/open_pic.c:36: error: static declaration of ‘OpenPIC’ follows non-static declaration
arch/ppc/syslib/open_pic_defs.h:175: error: previous declaration of ‘OpenPIC’ 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 cd2c169 commit d8f6098
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/ppc/syslib/open_pic_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,6 @@ struct OpenPIC {
OpenPIC_Processor Processor[OPENPIC_MAX_PROCESSORS];
};

extern volatile struct OpenPIC __iomem *OpenPIC;


/*
* Current Task Priority Register
*/
Expand Down

0 comments on commit d8f6098

Please sign in to comment.