[PATCH] ppc32: fix compilation error in arch/ppc/syslib/open_pic_defs.h

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 <benoit.boissinot@ens-lyon.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Benoit Boissinot 2005-04-16 15:24:29 -07:00 коммит произвёл Linus Torvalds
Родитель cd2c169e6a
Коммит d8f6098d5b
1 изменённых файлов: 0 добавлений и 3 удалений

Просмотреть файл

@ -172,9 +172,6 @@ struct OpenPIC {
OpenPIC_Processor Processor[OPENPIC_MAX_PROCESSORS]; OpenPIC_Processor Processor[OPENPIC_MAX_PROCESSORS];
}; };
extern volatile struct OpenPIC __iomem *OpenPIC;
/* /*
* Current Task Priority Register * Current Task Priority Register
*/ */