summaryrefslogtreecommitdiffstats
path: root/cpu/mcf5445x
diff options
context:
space:
mode:
authorBen Warren <biggerbadderben@gmail.com>2008-08-31 22:22:04 -0700
committerBen Warren <biggerbadderben@gmail.com>2008-09-02 21:18:16 -0700
commit89973f8a82c28ad893c4c3cc56839a8e10fe5f13 (patch)
tree6b27db2a54eae36850cf4ec07e8505c401652714 /cpu/mcf5445x
parent5a8a163ac394d9f4f7ff57f415d82bd673b0068c (diff)
downloadtalos-obmc-uboot-89973f8a82c28ad893c4c3cc56839a8e10fe5f13.tar.gz
talos-obmc-uboot-89973f8a82c28ad893c4c3cc56839a8e10fe5f13.zip
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/mcf5445x')
-rw-r--r--cpu/mcf5445x/cpu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpu/mcf5445x/cpu.c b/cpu/mcf5445x/cpu.c
index ab342ddeb0..a30c327dd7 100644
--- a/cpu/mcf5445x/cpu.c
+++ b/cpu/mcf5445x/cpu.c
@@ -28,6 +28,7 @@
#include <common.h>
#include <watchdog.h>
#include <command.h>
+#include <netdev.h>
#include <asm/immap.h>
@@ -102,8 +103,6 @@ int checkcpu(void)
* int board_eth_init(bd_t *bis)
*/
-extern int mcffec_initialize(bd_t*);
-
int cpu_eth_init(bd_t *bis)
{
return mcffec_initialize(bis);
OpenPOWER on IntegriCloud