summaryrefslogtreecommitdiff
path: root/cpu/arm720t/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/arm720t/serial.c')
-rw-r--r--cpu/arm720t/serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/arm720t/serial.c b/cpu/arm720t/serial.c
index 15c54af..1b0e147 100644
--- a/cpu/arm720t/serial.c
+++ b/cpu/arm720t/serial.c
@@ -125,12 +125,12 @@ serial_puts (const char *s)
#elif defined(CONFIG_LPC2292)
+DECLARE_GLOBAL_DATA_PTR;
+
#include <asm/arch/hardware.h>
void serial_setbrg (void)
{
- DECLARE_GLOBAL_DATA_PTR;
-
unsigned short divisor = 0;
switch (gd->baudrate) {