mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-24 18:38:38 +00:00
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>
This commit is contained in:
parent
4f6d25deed
commit
4212b54331
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user