aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/virtio-rng.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/hw_random/virtio-rng.c')
-rw-r--r--drivers/char/hw_random/virtio-rng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hw_random/virtio-rng.c b/drivers/char/hw_random/virtio-rng.c
index b6c24dcc987d..915157fcff98 100644
--- a/drivers/char/hw_random/virtio-rng.c
+++ b/drivers/char/hw_random/virtio-rng.c
@@ -116,7 +116,7 @@ static int virtrng_probe(struct virtio_device *vdev)
116 return 0; 116 return 0;
117} 117}
118 118
119static void virtrng_remove(struct virtio_device *vdev) 119static void __devexit virtrng_remove(struct virtio_device *vdev)
120{ 120{
121 vdev->config->reset(vdev); 121 vdev->config->reset(vdev);
122 hwrng_unregister(&virtio_hwrng); 122 hwrng_unregister(&virtio_hwrng);