Browse Source

Fix missing DECLARE_GLOBAL_DATA_PTR on CONFIG_LPC2292 in serial

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Jean-Christophe PLAGNIOL-VILLARD 17 years ago
parent
commit
86ec86c043
1 changed files with 2 additions and 0 deletions
  1. 2 0
      cpu/arm720t/serial.c

+ 2 - 0
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)