From 80369866a482b923f0398f4c8172865282559f5b Mon Sep 17 00:00:00 2001 From: wdenk Date: Thu, 18 Sep 2003 18:55:25 +0000 Subject: Work on TRAB's auto_update feature. Cleanup for submitted patches. --- common/devices.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/devices.c') diff --git a/common/devices.c b/common/devices.c index 7b4a1cd81f..bf7486ac44 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; -- cgit v1.2.1