diff options
Diffstat (limited to 'net/dsa/dsa.c')
-rw-r--r-- | net/dsa/dsa.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c index 67d21647c500..ba04c78633be 100644 --- a/net/dsa/dsa.c +++ b/net/dsa/dsa.c | |||
@@ -46,41 +46,6 @@ static const struct dsa_device_ops none_ops = { | |||
46 | 46 | ||
47 | DSA_TAG_DRIVER(none_ops); | 47 | DSA_TAG_DRIVER(none_ops); |
48 | 48 | ||
49 | const struct dsa_device_ops *dsa_device_ops[DSA_TAG_LAST] = { | ||
50 | #ifdef CONFIG_NET_DSA_TAG_BRCM | ||
51 | [DSA_TAG_PROTO_BRCM] = &brcm_netdev_ops, | ||
52 | #endif | ||
53 | #ifdef CONFIG_NET_DSA_TAG_BRCM_PREPEND | ||
54 | [DSA_TAG_PROTO_BRCM_PREPEND] = &brcm_prepend_netdev_ops, | ||
55 | #endif | ||
56 | #ifdef CONFIG_NET_DSA_TAG_DSA | ||
57 | [DSA_TAG_PROTO_DSA] = &dsa_netdev_ops, | ||
58 | #endif | ||
59 | #ifdef CONFIG_NET_DSA_TAG_EDSA | ||
60 | [DSA_TAG_PROTO_EDSA] = &edsa_netdev_ops, | ||
61 | #endif | ||
62 | #ifdef CONFIG_NET_DSA_TAG_GSWIP | ||
63 | [DSA_TAG_PROTO_GSWIP] = &gswip_netdev_ops, | ||
64 | #endif | ||
65 | #ifdef CONFIG_NET_DSA_TAG_KSZ9477 | ||
66 | [DSA_TAG_PROTO_KSZ9477] = &ksz9477_netdev_ops, | ||
67 | [DSA_TAG_PROTO_KSZ9893] = &ksz9893_netdev_ops, | ||
68 | #endif | ||
69 | #ifdef CONFIG_NET_DSA_TAG_LAN9303 | ||
70 | [DSA_TAG_PROTO_LAN9303] = &lan9303_netdev_ops, | ||
71 | #endif | ||
72 | #ifdef CONFIG_NET_DSA_TAG_MTK | ||
73 | [DSA_TAG_PROTO_MTK] = &mtk_netdev_ops, | ||
74 | #endif | ||
75 | #ifdef CONFIG_NET_DSA_TAG_QCA | ||
76 | [DSA_TAG_PROTO_QCA] = &qca_netdev_ops, | ||
77 | #endif | ||
78 | #ifdef CONFIG_NET_DSA_TAG_TRAILER | ||
79 | [DSA_TAG_PROTO_TRAILER] = &trailer_netdev_ops, | ||
80 | #endif | ||
81 | [DSA_TAG_PROTO_NONE] = &none_ops, | ||
82 | }; | ||
83 | |||
84 | static void dsa_tag_driver_register(struct dsa_tag_driver *dsa_tag_driver, | 49 | static void dsa_tag_driver_register(struct dsa_tag_driver *dsa_tag_driver, |
85 | struct module *owner) | 50 | struct module *owner) |
86 | { | 51 | { |