diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index 07d8e595e51f471de69e774a4be966b1bd9710d7..43db3ea15b54936da4502526602c117876bd67fc 100644 --- a/drivers/block/virtio_blk.c +++ b/drivers/block/virtio_blk.c @@ -254,7 +254,7 @@ static int index_to_minor(int index) return index << PART_BITS; } -static int virtblk_probe(struct virtio_device *vdev) +static int __devinit virtblk_probe(struct virtio_device *vdev) { struct virtio_blk *vblk; int err; @@ -395,7 +395,7 @@ static int virtblk_probe(struct virtio_device *vdev) return err; } -static void virtblk_remove(struct virtio_device *vdev) +static void __devexit virtblk_remove(struct virtio_device *vdev) { struct virtio_blk *vblk = vdev->priv;