summaryrefslogtreecommitdiff
path: root/cpu/ixp/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/ixp/serial.c')
-rw-r--r--cpu/ixp/serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/ixp/serial.c b/cpu/ixp/serial.c
index aea0cf86966..20159585714 100644
--- a/cpu/ixp/serial.c
+++ b/cpu/ixp/serial.c
@@ -31,10 +31,10 @@
#include <common.h>
#include <asm/arch/ixp425.h>
+DECLARE_GLOBAL_DATA_PTR;
+
void serial_setbrg (void)
{
- DECLARE_GLOBAL_DATA_PTR;
-
unsigned int quot = 0;
int uart = CFG_IXP425_CONSOLE;