diff options
| author | Stefan Roese <sr@denx.de> | 2007-04-23 12:01:50 +0200 |
|---|---|---|
| committer | Stefan Roese <sr@denx.de> | 2007-04-23 12:01:50 +0200 |
| commit | 8d1c439e2d9b0bdfe35df207e2c6b2f3a2312a3b (patch) | |
| tree | 223110de2b6eb0452d927a72c3a7b4d9090aa8ed /common | |
| parent | 323bfa8f436dc3bc57187c9b1488bc3146ff1522 (diff) | |
| parent | 14da5f7675bbb427c469e3f45006e027b6e21db9 (diff) | |
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 91b729f37a..69099c4275 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; } } |
