diff options
author | Stefan Roese <sr@denx.de> | 2007-04-23 15:38:17 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-04-23 15:38:17 +0200 |
commit | 6554ca06a8bee4317df7543f694dc39a9288ba14 (patch) | |
tree | 1ba21faad3123fd7e3c3c4cc980beac40181fa97 /common | |
parent | 38257988abfe74d459ca2ad748b109ca04e4efe1 (diff) | |
parent | 14da5f7675bbb427c469e3f45006e027b6e21db9 (diff) | |
download | u-boot-imx-6554ca06a8bee4317df7543f694dc39a9288ba14.zip u-boot-imx-6554ca06a8bee4317df7543f694dc39a9288ba14.tar.gz u-boot-imx-6554ca06a8bee4317df7543f694dc39a9288ba14.tar.bz2 |
Merge with git://www.denx.de/git/u-boot.git
Diffstat (limited to 'common')
-rw-r--r-- | common/fdt_support.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/fdt_support.c b/common/fdt_support.c index 91b729f..69099c4 100644 --- a/common/fdt_support.c +++ b/common/fdt_support.c @@ -56,7 +56,7 @@ int fdt_chosen(void *fdt, ulong initrd_start, ulong initrd_end, int force) } if (initrd_start && initrd_end) { - struct fdt_reserve_entry *re; + struct fdt_reserve_entry re; int used; int total; int j; @@ -77,7 +77,7 @@ int fdt_chosen(void *fdt, ulong initrd_start, ulong initrd_end, int force) */ for (j = 0; j < used; j++) { err = fdt_get_reservemap(fdt, j, &re); - if (re->address == initrd_start) { + if (re.address == initrd_start) { break; } } |