diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2017-07-13 16:10:08 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-07-23 16:23:29 +0300 |
commit | 08dd988be54cb6c6da676aee334c2304e77d9728 (patch) | |
tree | e7f36b0bcb06ae6f256cb001cfa3da864903d9d6 /drivers/net/mpc8xx_fec.c | |
parent | ba2c5a5c9d478c58277c4b0bb1187a6e82912410 (diff) | |
download | u-boot-08dd988be54cb6c6da676aee334c2304e77d9728.tar.xz |
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 'drivers/net/mpc8xx_fec.c')
-rw-r--r-- | drivers/net/mpc8xx_fec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/mpc8xx_fec.c b/drivers/net/mpc8xx_fec.c index e525d3b593..71fe984a5d 100644 --- a/drivers/net/mpc8xx_fec.c +++ b/drivers/net/mpc8xx_fec.c @@ -10,6 +10,7 @@ #include <commproc.h> #include <malloc.h> #include <net.h> +#include <netdev.h> #include <asm/io.h> #include <phy.h> |