diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2017-07-13 15:10:08 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-07-23 09:23:29 -0400 |
commit | 08dd988be54cb6c6da676aee334c2304e77d9728 (patch) | |
tree | e7f36b0bcb06ae6f256cb001cfa3da864903d9d6 /arch/powerpc/cpu/mpc85xx | |
parent | ba2c5a5c9d478c58277c4b0bb1187a6e82912410 (diff) | |
download | u-boot-08dd988be54cb6c6da676aee334c2304e77d9728.tar.gz |
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>
Diffstat (limited to 'arch/powerpc/cpu/mpc85xx')
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/interrupts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/interrupts.c b/arch/powerpc/cpu/mpc85xx/interrupts.c index daf46a9ba86..cf730c5c53c 100644 --- a/arch/powerpc/cpu/mpc85xx/interrupts.c +++ b/arch/powerpc/cpu/mpc85xx/interrupts.c @@ -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; |