virtio: initialize earlier
authorStijn Tintel <stijn@linux-ipv6.be>
Fri, 7 May 2010 04:58:34 +0000 (14:28 +0930)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 7 May 2010 21:01:17 +0000 (14:01 -0700)
commite2dbe06c271f3bb2a495627980aad3d1d8ccef2a
tree0e01d85f812ecac5e5436c8f215c049dd2a39230
parent91677467163b847f1a5497789a893ada97f375b6
virtio: initialize earlier

Move initialization of the virtio framework before the initialization of
mtd, so that block2mtd can be used on virtio-based block devices.

Addresses https://bugzilla.kernel.org/show_bug.cgi?id=15644

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/Makefile