commit | 6405a159ed386bdd915889dff52ff9d300326887 | [log] [tgz] |
---|---|---|
author | Wolfgang Denk <wd@pollux.denx.de> | Fri Mar 31 18:32:53 2006 +0200 |
committer | Wolfgang Denk <wd@pollux.denx.de> | Fri Mar 31 18:32:53 2006 +0200 |
tree | 514fc21eec39a2dd57f7aea516844a4400f8f140 | |
parent | 7154013f861b5722efd645131c0b7f8a5d74d073 [diff] [blame] |
GCC-4.x fixes: clean up global data pointer initialization for all boards.
diff --git a/cpu/arm720t/serial.c b/cpu/arm720t/serial.c index 0f99979..054bab9 100644 --- a/cpu/arm720t/serial.c +++ b/cpu/arm720t/serial.c
@@ -34,10 +34,10 @@ #include <clps7111.h> +DECLARE_GLOBAL_DATA_PTR; + void serial_setbrg (void) { - DECLARE_GLOBAL_DATA_PTR; - unsigned int reg = 0; switch (gd->baudrate) {