summaryrefslogtreecommitdiff
path: root/cpu/pxa/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/pxa/serial.c')
-rw-r--r--cpu/pxa/serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/pxa/serial.c b/cpu/pxa/serial.c
index 9bf2a7c..cb3a478 100644
--- a/cpu/pxa/serial.c
+++ b/cpu/pxa/serial.c
@@ -32,10 +32,10 @@
#include <watchdog.h>
#include <asm/arch/pxa-regs.h>
+DECLARE_GLOBAL_DATA_PTR;
+
void serial_setbrg (void)
{
- DECLARE_GLOBAL_DATA_PTR;
-
unsigned int quot = 0;
if (gd->baudrate == 1200)