diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2015-05-01 10:43:52 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-04 00:04:43 -0400 |
commit | 4212b5433187d01b5ae83664b06e990a9116250f (patch) | |
tree | 24e7a206374e44e0853378eae2a8d089db1faed6 /drivers/net/dsa | |
parent | 4f6d25deed30e1c1918f9f7bbe7e63295ef2bf1b (diff) | |
download | op-kernel-dev-4212b5433187d01b5ae83664b06e990a9116250f.zip op-kernel-dev-4212b5433187d01b5ae83664b06e990a9116250f.tar.gz |
net: dsa: mv88e6xxx: unregister mv88e6352 driver
Add the missing unregister for the mv88e6352_switch_driver.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa')
-rw-r--r-- | drivers/net/dsa/mv88e6xxx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/dsa/mv88e6xxx.c b/drivers/net/dsa/mv88e6xxx.c index af639ab..cf309aa9 100644 --- a/drivers/net/dsa/mv88e6xxx.c +++ b/drivers/net/dsa/mv88e6xxx.c @@ -1469,6 +1469,9 @@ static void __exit mv88e6xxx_cleanup(void) #if IS_ENABLED(CONFIG_NET_DSA_MV88E6171) unregister_switch_driver(&mv88e6171_switch_driver); #endif +#if IS_ENABLED(CONFIG_NET_DSA_MV88E6352) + unregister_switch_driver(&mv88e6352_switch_driver); +#endif #if IS_ENABLED(CONFIG_NET_DSA_MV88E6123_61_65) unregister_switch_driver(&mv88e6123_61_65_switch_driver); #endif |