]> git.baikalelectronics.ru Git - kernel.git/commit
virtio: Use bus_type probe and remove methods
authorMark McLoughlin <markmc@redhat.com>
Fri, 13 Jun 2008 12:46:40 +0000 (13:46 +0100)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 25 Jul 2008 02:06:05 +0000 (12:06 +1000)
commit27a4c5603dc52bdf62340b3d5fcadf69d5e92795
tree2e498cb10c9a416192c769bec8119455afcb18ba
parente6ef0b20a6122da17ae924f38bd64254352c61e4
virtio: Use bus_type probe and remove methods

Hook up to the probe() and remove() methods in bus_type
rather than device_driver. The latter has been preferred
since 2.6.16.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio.c