Fix missing DECLARE_GLOBAL_DATA_PTR on CONFIG_LPC2292 in serial
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Thu, 27 Sep 2007 21:27:47 +0000 (23:27 +0200)
committerWolfgang Denk <wd@denx.de>
Thu, 27 Sep 2007 23:08:38 +0000 (01:08 +0200)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
cpu/arm720t/serial.c

index 27eb73ad889ea141882472948720ac9997bd906a..1b0e147e1691f79e6b13d62a80fe2083bac27b70 100644 (file)
@@ -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)