summaryrefslogtreecommitdiffstats
path: root/cpu/s3c44b0/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/s3c44b0/serial.c')
-rw-r--r--cpu/s3c44b0/serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/s3c44b0/serial.c b/cpu/s3c44b0/serial.c
index 70b4ee811c..95d0266c6c 100644
--- a/cpu/s3c44b0/serial.c
+++ b/cpu/s3c44b0/serial.c
@@ -37,6 +37,8 @@
#include <common.h>
#include <asm/hardware.h>
+DECLARE_GLOBAL_DATA_PTR;
+
/* flush serial input queue. returns 0 on success or negative error
* number otherwise
*/
@@ -68,8 +70,6 @@ static int serial_flush_output(void)
void serial_setbrg (void)
{
- DECLARE_GLOBAL_DATA_PTR;
-
u32 divisor = 0;
/* get correct divisor */
OpenPOWER on IntegriCloud