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/pxa/serial.c b/cpu/pxa/serial.c index 9bf2a7c..cb3a478 100644 --- a/cpu/pxa/serial.c +++ b/cpu/pxa/serial.c
@@ -32,10 +32,10 @@ #include <watchdog.h> #include <asm/arch/pxa-regs.h> +DECLARE_GLOBAL_DATA_PTR; + void serial_setbrg (void) { - DECLARE_GLOBAL_DATA_PTR; - unsigned int quot = 0; if (gd->baudrate == 1200)