mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 03:30:37 +02:00
[ar71xx] ag71xx driver: unregister MDIO bus in module exit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13385 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
482253bd23
commit
47483ad349
@ -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
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user