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:
Christophe Leroy
2017-07-13 15:10:08 +02:00
committed by Tom Rini
parent ba2c5a5c9d
commit 08dd988be5
8 changed files with 18 additions and 13 deletions

View File

@ -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;