[ar71xx] ag71xx driver: unregister MDIO bus in module exit
[openwrt.git] / target / linux / ar71xx / files / drivers / net / ag71xx / ag71xx_main.c
index 3d60a8b..579da84 100644 (file)
@@ -882,6 +882,7 @@ static int __init ag71xx_module_init(void)
 static void __exit ag71xx_module_exit(void)
 {
        platform_driver_unregister(&ag71xx_driver);
 static void __exit ag71xx_module_exit(void)
 {
        platform_driver_unregister(&ag71xx_driver);
+       ag71xx_mdio_driver_exit();
 }
 
 module_init(ag71xx_module_init);
 }
 
 module_init(ag71xx_module_init);
This page took 0.0253679999999999 seconds and 4 git commands to generate.