UBI: Fix compile error when CONFIG_UBI_SILENCE_MSG defined
authorLadislav Michl <ladis@linux-mips.org>
Sun, 3 Jan 2016 21:05:03 +0000 (22:05 +0100)
committerHeiko Schocher <hs@denx.de>
Mon, 4 Jan 2016 08:11:10 +0000 (09:11 +0100)
commit6a4595600b968bafcae8ad603bfc1175b6efe1d8
treed2f085c9115a4a374abaa8456519c3fb44727d85
parent8e8106dcd540e4c735da6a0b71919747c15ce93a
UBI: Fix compile error when CONFIG_UBI_SILENCE_MSG defined

drivers/mtd/ubi/io.c:1354:3: error: 'dump_len' undeclared (first use in
this function)
   dump_len = max_t(int, 128, len - i);

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
drivers/mtd/ubi/io.c