aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/fsl_pq_mdio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/fsl_pq_mdio.c')
-rw-r--r--drivers/net/fsl_pq_mdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fsl_pq_mdio.c b/drivers/net/fsl_pq_mdio.c
index b01daa1e3adf..d12e0e0336f4 100644
--- a/drivers/net/fsl_pq_mdio.c
+++ b/drivers/net/fsl_pq_mdio.c
@@ -415,10 +415,10 @@ int __init fsl_pq_mdio_init(void)
415{ 415{
416 return of_register_platform_driver(&fsl_pq_mdio_driver); 416 return of_register_platform_driver(&fsl_pq_mdio_driver);
417} 417}
418module_init(fsl_pq_mdio_init);
418 419
419void fsl_pq_mdio_exit(void) 420void fsl_pq_mdio_exit(void)
420{ 421{
421 of_unregister_platform_driver(&fsl_pq_mdio_driver); 422 of_unregister_platform_driver(&fsl_pq_mdio_driver);
422} 423}
423subsys_initcall_sync(fsl_pq_mdio_init);
424module_exit(fsl_pq_mdio_exit); 424module_exit(fsl_pq_mdio_exit);