]> git.baikalelectronics.ru Git - kernel.git/commit
virtio_pci: move probe/remove code to common
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 13 Jan 2015 09:23:32 +0000 (11:23 +0200)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 21 Jan 2015 05:58:51 +0000 (16:28 +1030)
commit3d2f455bac75310397e2e86cd379d99572b3314b
treec9fa6b04df782a19b50d923c8f1cdd4fbe29888c
parente4bbdba033312f22205e8e78c4434b1711baf86c
virtio_pci: move probe/remove code to common

Most of initialization is device-independent.
Let's move it to common.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio_pci_common.c
drivers/virtio/virtio_pci_common.h
drivers/virtio/virtio_pci_legacy.c