From d87080b721e4f8dca977af7571c5338ae7bb8db7 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Fri, 31 Mar 2006 18:32:53 +0200 Subject: GCC-4.x fixes: clean up global data pointer initialization for all boards. --- post/ether.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'post/ether.c') diff --git a/post/ether.c b/post/ether.c index 660620e..8c87b59 100644 --- a/post/ether.c +++ b/post/ether.c @@ -51,6 +51,8 @@ #include #include +DECLARE_GLOBAL_DATA_PTR; + #define MIN_PACKET_LENGTH 64 #define MAX_PACKET_LENGTH 256 #define TEST_NUM 1 @@ -109,7 +111,6 @@ static RTXBD *rtx; static void scc_init (int scc_index) { - DECLARE_GLOBAL_DATA_PTR; bd_t *bd = gd->bd; static int proff[] = -- cgit v1.1