File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -601,23 +601,11 @@ static struct fsl_mc_driver vfio_fsl_mc_driver = {
601
601
.remove = vfio_fsl_mc_remove ,
602
602
.driver = {
603
603
.name = "vfio-fsl-mc" ,
604
- .owner = THIS_MODULE ,
605
604
},
606
605
.driver_managed_dma = true,
607
606
};
608
607
609
- static int __init vfio_fsl_mc_driver_init (void )
610
- {
611
- return fsl_mc_driver_register (& vfio_fsl_mc_driver );
612
- }
613
-
614
- static void __exit vfio_fsl_mc_driver_exit (void )
615
- {
616
- fsl_mc_driver_unregister (& vfio_fsl_mc_driver );
617
- }
618
-
619
- module_init (vfio_fsl_mc_driver_init );
620
- module_exit (vfio_fsl_mc_driver_exit );
608
+ module_fsl_mc_driver (vfio_fsl_mc_driver );
621
609
622
610
MODULE_LICENSE ("Dual BSD/GPL" );
623
611
MODULE_DESCRIPTION ("VFIO for FSL-MC devices - User Level meta-driver" );
You can’t perform that action at this time.
0 commit comments