TQM85xx: fix typo introduce by commit ffbb5cb9
[oweals/u-boot.git] / cpu / arm720t / serial.c
index 15c54af08b789caa97fd2077aaadc325322c8c6f..1b0e147e1691f79e6b13d62a80fe2083bac27b70 100644 (file)
@@ -125,12 +125,12 @@ serial_puts (const char *s)
 
 #elif defined(CONFIG_LPC2292)
 
+DECLARE_GLOBAL_DATA_PTR;
+
 #include <asm/arch/hardware.h>
 
 void serial_setbrg (void)
 {
-       DECLARE_GLOBAL_DATA_PTR;
-
        unsigned short divisor = 0;
 
        switch (gd->baudrate) {