diff options
Diffstat (limited to 'drivers/s390/crypto/vfio_ap_ops.c')
| -rw-r--r-- | drivers/s390/crypto/vfio_ap_ops.c | 9 | 
1 files changed, 2 insertions, 7 deletions
| diff --git a/drivers/s390/crypto/vfio_ap_ops.c b/drivers/s390/crypto/vfio_ap_ops.c index 6e08d04b605d..ee0a3bf8f476 100644 --- a/drivers/s390/crypto/vfio_ap_ops.c +++ b/drivers/s390/crypto/vfio_ap_ops.c @@ -1496,12 +1496,7 @@ static struct mdev_driver vfio_ap_matrix_driver = {  	},  	.probe = vfio_ap_mdev_probe,  	.remove = vfio_ap_mdev_remove, -}; - -static const struct mdev_parent_ops vfio_ap_matrix_ops = { -	.owner			= THIS_MODULE, -	.device_driver		= &vfio_ap_matrix_driver, -	.supported_type_groups	= vfio_ap_mdev_type_groups, +	.supported_type_groups = vfio_ap_mdev_type_groups,  };  int vfio_ap_mdev_register(void) @@ -1514,7 +1509,7 @@ int vfio_ap_mdev_register(void)  	if (ret)  		return ret; -	ret = mdev_register_device(&matrix_dev->device, &vfio_ap_matrix_ops); +	ret = mdev_register_device(&matrix_dev->device, &vfio_ap_matrix_driver);  	if (ret)  		goto err_driver;  	return 0; | 
