summaryrefslogtreecommitdiffstats
path: root/cpu/mpc5xx/speed.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/mpc5xx/speed.c')
-rw-r--r--cpu/mpc5xx/speed.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpu/mpc5xx/speed.c b/cpu/mpc5xx/speed.c
index f6097f5c13..6a1fa155e2 100644
--- a/cpu/mpc5xx/speed.c
+++ b/cpu/mpc5xx/speed.c
@@ -31,12 +31,13 @@
#include <mpc5xx.h>
#include <asm/processor.h>
+DECLARE_GLOBAL_DATA_PTR;
+
/*
* Get cpu and bus clock
*/
int get_clocks (void)
{
- DECLARE_GLOBAL_DATA_PTR;
volatile immap_t *immr = (immap_t *) CFG_IMMR;
#ifndef CONFIG_5xx_GCLK_FREQ
OpenPOWER on IntegriCloud