ag71xx driver: unregister MDIO bus in module exit
authorGabor Juhos <juhosg@openwrt.org>
Thu, 27 Nov 2008 22:25:43 +0000 (22:25 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 27 Nov 2008 22:25:43 +0000 (22:25 +0000)
SVN-Revision: 13385

target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h
target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c

index 06ec3c3bf6ac77585e5fe022dc62bcc6b82d8fdb..d8851160f7fef6ba5b81d5de66d45748a02282fe 100644 (file)
@@ -37,7 +37,7 @@
 #define ETH_FCS_LEN    4
 
 #define AG71XX_DRV_NAME                "ag71xx"
-#define AG71XX_DRV_VERSION     "0.5.0"
+#define AG71XX_DRV_VERSION     "0.5.1"
 
 #define AG71XX_NAPI_TX         1
 
index 3d60a8bab61d91f65b3674610fafb95cf679f17a..579da84a39162ac3d1a5589f0ab207d0e1a7b7a1 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);
+       ag71xx_mdio_driver_exit();
 }
 
 module_init(ag71xx_module_init);