summaryrefslogtreecommitdiff
path: root/drivers/serial_max3100.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial_max3100.c')
-rw-r--r--drivers/serial_max3100.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/serial_max3100.c b/drivers/serial_max3100.c
index bbe212b..35c5596 100644
--- a/drivers/serial_max3100.c
+++ b/drivers/serial_max3100.c
@@ -28,6 +28,8 @@
#ifdef CONFIG_MAX3100_SERIAL
+DECLARE_GLOBAL_DATA_PTR;
+
/**************************************************************/
/* convienient macros */
@@ -217,7 +219,6 @@ int serial_init(void)
{
unsigned int wconf, rconf;
int i;
- DECLARE_GLOBAL_DATA_PTR;
wconf = 0;