summaryrefslogtreecommitdiff
path: root/drivers/mtd/ubi/build.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-11-27 14:05:15 +0100
committerStefan Roese <sr@denx.de>2008-12-09 10:07:23 +0100
commit9def12cae33d2d3ea2dd56b197fd3dfb3ad60bf4 (patch)
tree2c28e1e5d5ad3dbfc5414619145e3f59c4844ad0 /drivers/mtd/ubi/build.c
parent13d36ec849785453953d00220b2c7dc66644a3c2 (diff)
downloadu-boot-imx-9def12cae33d2d3ea2dd56b197fd3dfb3ad60bf4.zip
u-boot-imx-9def12cae33d2d3ea2dd56b197fd3dfb3ad60bf4.tar.gz
u-boot-imx-9def12cae33d2d3ea2dd56b197fd3dfb3ad60bf4.tar.bz2
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>
Diffstat (limited to 'drivers/mtd/ubi/build.c')
0 files changed, 0 insertions, 0 deletions