diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-11-27 22:25:43 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-11-27 22:25:43 +0000 |
commit | b2d1c5773c2b7fbd501cc38486d8d503a22e48cc (patch) | |
tree | c94c9ef2c982349e9ed83a989e5a40e1e8b38ae6 | |
parent | 0f2b0d30caf8b18860a31c557825160c00e7b99f (diff) | |
download | upstream-b2d1c5773c2b7fbd501cc38486d8d503a22e48cc.tar.gz upstream-b2d1c5773c2b7fbd501cc38486d8d503a22e48cc.tar.bz2 upstream-b2d1c5773c2b7fbd501cc38486d8d503a22e48cc.zip |
[ar71xx] ag71xx driver: unregister MDIO bus in module exit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13385 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h | 2 | ||||
-rw-r--r-- | target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h index 06ec3c3bf6..d8851160f7 100644 --- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h +++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h @@ -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 diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c index 3d60a8bab6..579da84a39 100644 --- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c +++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c @@ -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); |