summaryrefslogtreecommitdiff
path: root/cpu/sa1100/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/sa1100/serial.c')
-rw-r--r--cpu/sa1100/serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/sa1100/serial.c b/cpu/sa1100/serial.c
index a598489..5d18875 100644
--- a/cpu/sa1100/serial.c
+++ b/cpu/sa1100/serial.c
@@ -31,10 +31,10 @@
#include <common.h>
#include <SA-1100.h>
+DECLARE_GLOBAL_DATA_PTR;
+
void serial_setbrg (void)
{
- DECLARE_GLOBAL_DATA_PTR;
-
unsigned int reg = 0;
if (gd->baudrate == 1200)