mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 05:31:15 +00:00
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>
This commit is contained in:
parent
3675617531
commit
f81a43e8da
12 changed files with 11 additions and 77 deletions
|
@ -202,34 +202,4 @@ dsa_slave_to_master(const struct net_device *dev)
|
|||
/* switch.c */
|
||||
int dsa_switch_register_notifier(struct dsa_switch *ds);
|
||||
void dsa_switch_unregister_notifier(struct dsa_switch *ds);
|
||||
|
||||
/* tag_brcm.c */
|
||||
extern const struct dsa_device_ops brcm_netdev_ops;
|
||||
extern const struct dsa_device_ops brcm_prepend_netdev_ops;
|
||||
|
||||
/* tag_dsa.c */
|
||||
extern const struct dsa_device_ops dsa_netdev_ops;
|
||||
|
||||
/* tag_edsa.c */
|
||||
extern const struct dsa_device_ops edsa_netdev_ops;
|
||||
|
||||
/* tag_gswip.c */
|
||||
extern const struct dsa_device_ops gswip_netdev_ops;
|
||||
|
||||
/* tag_ksz.c */
|
||||
extern const struct dsa_device_ops ksz9477_netdev_ops;
|
||||
extern const struct dsa_device_ops ksz9893_netdev_ops;
|
||||
|
||||
/* tag_lan9303.c */
|
||||
extern const struct dsa_device_ops lan9303_netdev_ops;
|
||||
|
||||
/* tag_mtk.c */
|
||||
extern const struct dsa_device_ops mtk_netdev_ops;
|
||||
|
||||
/* tag_qca.c */
|
||||
extern const struct dsa_device_ops qca_netdev_ops;
|
||||
|
||||
/* tag_trailer.c */
|
||||
extern const struct dsa_device_ops trailer_netdev_ops;
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue