summaryrefslogtreecommitdiffstats
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 0f99979508..054bab9811 100644
--- a/cpu/arm720t/serial.c
+++ b/cpu/arm720t/serial.c
@@ -34,10 +34,10 @@
#include <clps7111.h>
+DECLARE_GLOBAL_DATA_PTR;
+
void serial_setbrg (void)
{
- DECLARE_GLOBAL_DATA_PTR;
-
unsigned int reg = 0;
switch (gd->baudrate) {
OpenPOWER on IntegriCloud