ubi: Fix early logging
authorRichard Weinberger <richard@nod.at>
Mon, 4 Jul 2016 20:06:51 +0000 (22:06 +0200)
committerRichard Weinberger <richard@nod.at>
Fri, 29 Jul 2016 21:31:55 +0000 (23:31 +0200)
commitbc743f34dfa011e62edd0ea4ae8455be06c083b5
treedc5b33a3d35820944389674b1a1fd4f30875d950
parent95b54e1e10eb32c465d1028dd119ee790afe4a01
ubi: Fix early logging

We cannot use ubi_* logging functions before the UBI
object is initialized.

Cc: <stable@vger.kernel.org>
Fixes: 3260870331 ("UBI: Extend UBI layer debug/messaging capabilities")
Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/ubi/build.c