]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/net/dsa.h
net: dsa: remove dev arg of dsa_register_switch
[karo-tx-linux.git] / include / net / dsa.h
index c0e567c0c824332bc331a0930f97225b5ca0f0f3..d9bd6939229aca3b3abe982d32194627ea18cab5 100644 (file)
@@ -480,7 +480,7 @@ static inline bool netdev_uses_dsa(struct net_device *dev)
 
 struct dsa_switch *dsa_switch_alloc(struct device *dev, size_t n);
 void dsa_unregister_switch(struct dsa_switch *ds);
-int dsa_register_switch(struct dsa_switch *ds, struct device *dev);
+int dsa_register_switch(struct dsa_switch *ds);
 #ifdef CONFIG_PM_SLEEP
 int dsa_switch_suspend(struct dsa_switch *ds);
 int dsa_switch_resume(struct dsa_switch *ds);