aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/dsa_priv.h
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2019-04-28 13:37:21 -0400
committerDavid S. Miller <davem@davemloft.net>2019-04-28 19:41:01 -0400
commitf81a43e8da07ccd91c4d923a44ffffaeee39dcc8 (patch)
treedfe12e87e6f7faca811278e1e63321ff05847b90 /net/dsa/dsa_priv.h
parent3675617531443a503f674e71e70248b9c5a205cd (diff)
dsa: Cleanup unneeded table and make tag structures static
Now that tag drivers dynamically register, we don't need the static table. Remove it. This also means the tag driver structures can be made static. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/dsa_priv.h')
-rw-r--r--net/dsa/dsa_priv.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/net/dsa/dsa_priv.h b/net/dsa/dsa_priv.h
index ea482e88f7b8..e860512d673a 100644
--- a/net/dsa/dsa_priv.h
+++ b/net/dsa/dsa_priv.h
@@ -202,34 +202,4 @@ dsa_slave_to_master(const struct net_device *dev)
202/* switch.c */ 202/* switch.c */
203int dsa_switch_register_notifier(struct dsa_switch *ds); 203int dsa_switch_register_notifier(struct dsa_switch *ds);
204void dsa_switch_unregister_notifier(struct dsa_switch *ds); 204void dsa_switch_unregister_notifier(struct dsa_switch *ds);
205
206/* tag_brcm.c */
207extern const struct dsa_device_ops brcm_netdev_ops;
208extern const struct dsa_device_ops brcm_prepend_netdev_ops;
209
210/* tag_dsa.c */
211extern const struct dsa_device_ops dsa_netdev_ops;
212
213/* tag_edsa.c */
214extern const struct dsa_device_ops edsa_netdev_ops;
215
216/* tag_gswip.c */
217extern const struct dsa_device_ops gswip_netdev_ops;
218
219/* tag_ksz.c */
220extern const struct dsa_device_ops ksz9477_netdev_ops;
221extern const struct dsa_device_ops ksz9893_netdev_ops;
222
223/* tag_lan9303.c */
224extern const struct dsa_device_ops lan9303_netdev_ops;
225
226/* tag_mtk.c */
227extern const struct dsa_device_ops mtk_netdev_ops;
228
229/* tag_qca.c */
230extern const struct dsa_device_ops qca_netdev_ops;
231
232/* tag_trailer.c */
233extern const struct dsa_device_ops trailer_netdev_ops;
234
235#endif 205#endif