virtio: initialize earlier
commit23f16e57f5f2b341129c131fc809c105261338f9
authorStijn Tintel <stijn@linux-ipv6.be>
Fri, 7 May 2010 04:58:34 +0000 (7 14:28 +0930)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 May 2010 22:03:07 +0000 (12 15:03 -0700)
treef5dfac9b98454a22b99681a7ef5ee9ce6f83ff60
parent9612e630b3e524c8c87cf3e04b04513eff67af71
virtio: initialize earlier

commit e2dbe06c271f3bb2a495627980aad3d1d8ccef2a upstream.

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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/Makefile