commit | 1218abf1b5817a39a82399b4b928b00750575bda | [log] [tgz] |
---|---|---|
author | Wolfgang Denk <wd@denx.de> | Sat Sep 15 20:48:41 2007 +0200 |
committer | Wolfgang Denk <wd@denx.de> | Sat Sep 15 20:48:41 2007 +0200 |
tree | eea14f9a563edd02bbc62b8aa493efd270044485 | |
parent | 66b3f24d665be678a9dbb125b1e84185400f63b5 [diff] [blame] |
Fix cases where DECLARE_GLOBAL_DATA_PTR was not declared as global Signed-off-by: Wolfgang Denk <wd@denx.de>
diff --git a/cpu/bf537/serial.c b/cpu/bf537/serial.c index e04d08a..f7a2483 100644 --- a/cpu/bf537/serial.c +++ b/cpu/bf537/serial.c
@@ -52,6 +52,8 @@ #include <asm/io.h> #include "serial.h" +DECLARE_GLOBAL_DATA_PTR; + unsigned long pll_div_fact; void calc_baud(void) @@ -74,7 +76,6 @@ void serial_setbrg(void) { int i; - DECLARE_GLOBAL_DATA_PTR; calc_baud();