diff --git a/net/dsa/dsa2.c b/net/dsa/dsa2.c index 78e4c0131c3085dfe2edcff322fc7b115fa83595..f30bad9678f0da0b2e49a0fe828befbc3daf72fa 100644 --- a/net/dsa/dsa2.c +++ b/net/dsa/dsa2.c @@ -677,7 +677,7 @@ int dsa_register_switch(struct dsa_switch *ds, struct device_node *np) } EXPORT_SYMBOL_GPL(dsa_register_switch); -void _dsa_unregister_switch(struct dsa_switch *ds) +static void _dsa_unregister_switch(struct dsa_switch *ds) { struct dsa_switch_tree *dst = ds->dst;