diff options
Diffstat (limited to 'net/dsa/dsa.c')
-rw-r--r-- | net/dsa/dsa.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c index a69c1790bbfc..aee909bcddc4 100644 --- a/net/dsa/dsa.c +++ b/net/dsa/dsa.c | |||
@@ -55,8 +55,8 @@ const struct dsa_device_ops *dsa_device_ops[DSA_TAG_LAST] = { | |||
55 | #ifdef CONFIG_NET_DSA_TAG_GSWIP | 55 | #ifdef CONFIG_NET_DSA_TAG_GSWIP |
56 | [DSA_TAG_PROTO_GSWIP] = &gswip_netdev_ops, | 56 | [DSA_TAG_PROTO_GSWIP] = &gswip_netdev_ops, |
57 | #endif | 57 | #endif |
58 | #ifdef CONFIG_NET_DSA_TAG_KSZ | 58 | #ifdef CONFIG_NET_DSA_TAG_KSZ9477 |
59 | [DSA_TAG_PROTO_KSZ] = &ksz_netdev_ops, | 59 | [DSA_TAG_PROTO_KSZ9477] = &ksz9477_netdev_ops, |
60 | #endif | 60 | #endif |
61 | #ifdef CONFIG_NET_DSA_TAG_LAN9303 | 61 | #ifdef CONFIG_NET_DSA_TAG_LAN9303 |
62 | [DSA_TAG_PROTO_LAN9303] = &lan9303_netdev_ops, | 62 | [DSA_TAG_PROTO_LAN9303] = &lan9303_netdev_ops, |
@@ -91,8 +91,8 @@ const char *dsa_tag_protocol_to_str(const struct dsa_device_ops *ops) | |||
91 | #ifdef CONFIG_NET_DSA_TAG_GSWIP | 91 | #ifdef CONFIG_NET_DSA_TAG_GSWIP |
92 | [DSA_TAG_PROTO_GSWIP] = "gswip", | 92 | [DSA_TAG_PROTO_GSWIP] = "gswip", |
93 | #endif | 93 | #endif |
94 | #ifdef CONFIG_NET_DSA_TAG_KSZ | 94 | #ifdef CONFIG_NET_DSA_TAG_KSZ9477 |
95 | [DSA_TAG_PROTO_KSZ] = "ksz", | 95 | [DSA_TAG_PROTO_KSZ9477] = "ksz9477", |
96 | #endif | 96 | #endif |
97 | #ifdef CONFIG_NET_DSA_TAG_LAN9303 | 97 | #ifdef CONFIG_NET_DSA_TAG_LAN9303 |
98 | [DSA_TAG_PROTO_LAN9303] = "lan9303", | 98 | [DSA_TAG_PROTO_LAN9303] = "lan9303", |