diff options
author | Ben Warren <biggerbadderben@gmail.com> | 2008-08-31 22:22:04 -0700 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2008-09-02 21:18:16 -0700 |
commit | 89973f8a82c28ad893c4c3cc56839a8e10fe5f13 (patch) | |
tree | 6b27db2a54eae36850cf4ec07e8505c401652714 /cpu/leon2/cpu.c | |
parent | 5a8a163ac394d9f4f7ff57f415d82bd673b0068c (diff) | |
download | u-boot-imx-89973f8a82c28ad893c4c3cc56839a8e10fe5f13.zip u-boot-imx-89973f8a82c28ad893c4c3cc56839a8e10fe5f13.tar.gz u-boot-imx-89973f8a82c28ad893c4c3cc56839a8e10fe5f13.tar.bz2 |
Introduce netdev.h header file and remove externs
This addresses all drivers whose initializers have already
been moved to board_eth_init()/cpu_eth_init().
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'cpu/leon2/cpu.c')
-rw-r--r-- | cpu/leon2/cpu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpu/leon2/cpu.c b/cpu/leon2/cpu.c index 5de1c52..d6e23b1 100644 --- a/cpu/leon2/cpu.c +++ b/cpu/leon2/cpu.c @@ -25,6 +25,7 @@ #include <common.h> #include <watchdog.h> #include <command.h> +#include <netdev.h> DECLARE_GLOBAL_DATA_PTR; @@ -57,8 +58,6 @@ int do_reset(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) /* ------------------------------------------------------------------------- */ -extern int greth_initialize(bd_t *bis); - #ifdef CONFIG_GRETH int cpu_eth_init(bd_t *bis) { |