diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-05-27 15:41:15 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-05-27 15:41:15 +0000 |
commit | c56e5ad7254ddf7ee9f1f016150de9e28c3ff57e (patch) | |
tree | 4b79dcc461ce7d98a85c107b0ca04c90f19f59f8 /src/devices/oprom | |
parent | 89ef0a9f4114f88dfd4c8053152e3448d971bd92 (diff) | |
download | coreboot-c56e5ad7254ddf7ee9f1f016150de9e28c3ff57e.tar.xz |
fix warnings.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5594 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices/oprom')
-rw-r--r-- | src/devices/oprom/yabel/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/oprom/yabel/device.c b/src/devices/oprom/yabel/device.c index 5e5dc2877d..8bfb1fd0c6 100644 --- a/src/devices/oprom/yabel/device.c +++ b/src/devices/oprom/yabel/device.c @@ -44,7 +44,6 @@ static void biosemu_dev_get_addr_info(void) { int taa_index = 0; - int i = 0; struct resource *r; u8 bus = bios_device.dev->bus->link; u16 devfn = bios_device.dev->path.pci.devfn; @@ -115,6 +114,7 @@ biosemu_dev_get_addr_info(void) //dump translate_address_array printf("translate_address_array: \n"); translate_address_t ta; + int i; for (i = 0; i <= taa_last_entry; i++) { ta = translate_address_array[i]; printf |