aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/virtio/virtio_mmio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/virtio/virtio_mmio.c')
-rw-r--r--drivers/virtio/virtio_mmio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/virtio/virtio_mmio.c b/drivers/virtio/virtio_mmio.c
index 634f80bcdbd7..31f966f4d27f 100644
--- a/drivers/virtio/virtio_mmio.c
+++ b/drivers/virtio/virtio_mmio.c
@@ -440,7 +440,7 @@ static struct virtio_config_ops virtio_mmio_config_ops = {
440 440
441/* Platform device */ 441/* Platform device */
442 442
443static int __devinit virtio_mmio_probe(struct platform_device *pdev) 443static int virtio_mmio_probe(struct platform_device *pdev)
444{ 444{
445 struct virtio_mmio_device *vm_dev; 445 struct virtio_mmio_device *vm_dev;
446 struct resource *mem; 446 struct resource *mem;
@@ -493,7 +493,7 @@ static int __devinit virtio_mmio_probe(struct platform_device *pdev)
493 return register_virtio_device(&vm_dev->vdev); 493 return register_virtio_device(&vm_dev->vdev);
494} 494}
495 495
496static int __devexit virtio_mmio_remove(struct platform_device *pdev) 496static int virtio_mmio_remove(struct platform_device *pdev)
497{ 497{
498 struct virtio_mmio_device *vm_dev = platform_get_drvdata(pdev); 498 struct virtio_mmio_device *vm_dev = platform_get_drvdata(pdev);
499 499
@@ -638,7 +638,7 @@ MODULE_DEVICE_TABLE(of, virtio_mmio_match);
638 638
639static struct platform_driver virtio_mmio_driver = { 639static struct platform_driver virtio_mmio_driver = {
640 .probe = virtio_mmio_probe, 640 .probe = virtio_mmio_probe,
641 .remove = __devexit_p(virtio_mmio_remove), 641 .remove = virtio_mmio_remove,
642 .driver = { 642 .driver = {
643 .name = "virtio-mmio", 643 .name = "virtio-mmio",
644 .owner = THIS_MODULE, 644 .owner = THIS_MODULE,