ag71xx driver: unregister MDIO bus in module exit

SVN-Revision: 13385
This commit is contained in:
Gabor Juhos 2008-11-27 22:25:43 +00:00
parent a6be7066d3
commit bd20af97c2
2 changed files with 2 additions and 1 deletions

View 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

View 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);