Boris Brezillon 7b6b749b12 UBI: move the global ech and vidh variables into struct ubi_attach_info
Even if it works fine with those global variables, attaching the
temporary ech and vidh objects used during UBI scan to the
ubi_attach_info object sounds like a more future-proof option.

For example, attaching several UBI devices in parallel is prevented by
this use of global variable. And also because global variables should
be avoided in general.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2016-10-02 22:48:14 +02:00
..
2016-07-29 23:31:55 +02:00
2015-04-13 21:05:17 +02:00
2016-06-23 00:29:32 +02:00
2016-07-29 23:31:54 +02:00
2016-06-14 10:51:42 +02:00
2015-10-03 20:09:41 +02:00
2016-07-29 23:32:01 +02:00
2016-07-29 23:32:42 +02:00
2015-03-26 22:47:38 +01:00