Skip to content
Snippets Groups Projects
Commit 9def12ca authored by Stefan Roese's avatar Stefan Roese
Browse files

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: default avatarStefan Roese <sr@denx.de>
parent 13d36ec8
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment