mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
powerpc, 8xx: fix missing function declarations.
Add missing .h and add missing declarations in .h Declare local functions as static. Make interrupt_init_cpu function signatures consistent with how decrementer_count is declared. Based on warnings reported by 'make C=2' Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> [trini: drop cpu_init_f as 8xx/83xx are different from the rest, rework interrupt_init_cpu/decrementer_count] Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:

committed by
Tom Rini

parent
ba2c5a5c9d
commit
08dd988be5
@ -20,7 +20,7 @@
|
||||
#include <post.h>
|
||||
#endif
|
||||
|
||||
int interrupt_init_cpu(unsigned int *decrementer_count)
|
||||
int interrupt_init_cpu(unsigned *decrementer_count)
|
||||
{
|
||||
ccsr_pic_t __iomem *pic = (void *)CONFIG_SYS_MPC8xxx_PIC_ADDR;
|
||||
|
||||
|
Reference in New Issue
Block a user