diff options
Diffstat (limited to 'net/dsa/dsa.c')
| -rw-r--r-- | net/dsa/dsa.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c index 436a7e1b412a..5b01a0e43ebe 100644 --- a/net/dsa/dsa.c +++ b/net/dsa/dsa.c @@ -1621,7 +1621,7 @@ void dsa_switch_shutdown(struct dsa_switch *ds)  	dsa_switch_for_each_cpu_port(dp, ds)  		list_add(&dp->conduit->close_list, &close_list); -	dev_close_many(&close_list, true); +	netif_close_many(&close_list, true);  	dsa_switch_for_each_user_port(dp, ds) {  		conduit = dsa_port_to_conduit(dp); @@ -1829,3 +1829,4 @@ MODULE_AUTHOR("Lennert Buytenhek <buytenh@wantstofly.org>");  MODULE_DESCRIPTION("Driver for Distributed Switch Architecture switch chips");  MODULE_LICENSE("GPL");  MODULE_ALIAS("platform:dsa"); +MODULE_IMPORT_NS("NETDEV_INTERNAL"); | 
