commit | 61379203cf2c526753679fed505dfa82aac1aa92 | [log] [tgz] |
---|---|---|
author | Stefan Roese <sr@denx.de> | Thu Nov 27 14:05:15 2008 +0100 |
committer | Stefan Roese <sr@denx.de> | Tue Dec 09 10:07:23 2008 +0100 |
tree | 2c28e1e5d5ad3dbfc5414619145e3f59c4844ad0 | |
parent | f874b4939967c27d2474f0bc3388a47b593b0614 [diff] |
MTD: Fix problem based on non-working relocation (list head mtd_partitions) Don't use LIST_HEAD() but initialize the struct via INIT_LIST_HEAD() upon first call of add_mtd_partitions(). Otherwise this won't work on platforms where the relocation is broken (like MIPS or PPC). Signed-off-by: Stefan Roese <sr@denx.de>