diff options
Diffstat (limited to 'kernel/drivers/vfio/platform/vfio_platform.c')
-rw-r--r-- | kernel/drivers/vfio/platform/vfio_platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/vfio/platform/vfio_platform.c b/kernel/drivers/vfio/platform/vfio_platform.c index cef645c83..b1cc3a768 100644 --- a/kernel/drivers/vfio/platform/vfio_platform.c +++ b/kernel/drivers/vfio/platform/vfio_platform.c @@ -65,6 +65,7 @@ static int vfio_platform_probe(struct platform_device *pdev) vdev->flags = VFIO_DEVICE_FLAGS_PLATFORM; vdev->get_resource = get_platform_resource; vdev->get_irq = get_platform_irq; + vdev->parent_module = THIS_MODULE; ret = vfio_platform_probe_common(vdev, &pdev->dev); if (ret) @@ -91,7 +92,6 @@ static struct platform_driver vfio_platform_driver = { .remove = vfio_platform_remove, .driver = { .name = "vfio-platform", - .owner = THIS_MODULE, }, }; |