UBI: prepare for protection tree improvements
authorXiaochuan-Xu <xiaochuan-xu@cqu.edu.cn>
Tue, 9 Dec 2008 11:44:12 +0000 (19:44 +0800)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 17 Jul 2009 13:04:11 +0000 (16:04 +0300)
commit563100bd1390b24f8fd03d9e1bbe20e93e1d65b3
tree9740d70305f68bd9eb94ca0d1e60a9d8b03e9f1b
parent11fd46e088caf2203bed2e1634c50baac2d9e7e3
UBI: prepare for protection tree improvements

This patch modifies @struct ubi_wl_entry and adds union which
contains only one element so far. This is just a preparation
for further changes which will kill the protection tree and
make UBI use a list instead.

Signed-off-by: Xiaochuan-Xu <xiaochuan-xu@cqu.edu.cn>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/ubi.h
drivers/mtd/ubi/wl.c