diff options
Diffstat (limited to 'common/devices.c')
-rw-r--r-- | common/devices.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/devices.c b/common/devices.c index 7b4a1cd81fe..bf7486ac442 100644 --- a/common/devices.c +++ b/common/devices.c @@ -159,6 +159,8 @@ int device_deregister(char *devname) int devices_init (void) { #ifndef CONFIG_ARM /* already relocated for current ARM implementation */ + DECLARE_GLOBAL_DATA_PTR; + ulong relocation_offset = gd->reloc_off; int i; |