summaryrefslogtreecommitdiff
path: root/cpu/arm720t/serial.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2007-09-27 23:27:47 +0200
committerWolfgang Denk <wd@denx.de>2007-09-28 01:08:38 +0200
commit86ec86c04326c3913178a7679aa910de071da75d (patch)
tree010d7c10530abf99215ee0c992261c19b89a7213 /cpu/arm720t/serial.c
parentc3c909a209d05f27ebd090f21c0b46d90925f990 (diff)
Fix missing DECLARE_GLOBAL_DATA_PTR on CONFIG_LPC2292 in serial
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'cpu/arm720t/serial.c')
-rw-r--r--cpu/arm720t/serial.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/arm720t/serial.c b/cpu/arm720t/serial.c
index 27eb73ad88..1b0e147e16 100644
--- a/cpu/arm720t/serial.c
+++ b/cpu/arm720t/serial.c
@@ -125,6 +125,8 @@ serial_puts (const char *s)
#elif defined(CONFIG_LPC2292)
+DECLARE_GLOBAL_DATA_PTR;
+
#include <asm/arch/hardware.h>
void serial_setbrg (void)